diff options
author | Kevin Hao <haokexin@gmail.com> | 2015-03-12 20:32:44 +0800 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2015-03-17 20:04:31 +1100 |
commit | 758ddd1d11da5616851dd0d269e321cd1d2d4c1b (patch) | |
tree | 76a008945cacbea537e1735a95cb41c5d365cb1e /drivers/video/fbdev/aty/radeonfb.h | |
parent | e7b410ef74b3d917db2545086578b663bed19d81 (diff) | |
download | linux-758ddd1d11da5616851dd0d269e321cd1d2d4c1b.tar.gz |
fbdev: radeon: replace PPC_OF with PPC
The PPC_OF is a ppc specific option which is used to mean that the
firmware device tree access functions are available. Since all the
ppc platforms have a device tree, it is aways set to 'y' for ppc.
So it makes no sense to keep a such option in the current kernel.
Replace it with PPC.
Signed-off-by: Kevin Hao <haokexin@gmail.com>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers/video/fbdev/aty/radeonfb.h')
-rw-r--r-- | drivers/video/fbdev/aty/radeonfb.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/fbdev/aty/radeonfb.h b/drivers/video/fbdev/aty/radeonfb.h index cb846044f57c..039def41c920 100644 --- a/drivers/video/fbdev/aty/radeonfb.h +++ b/drivers/video/fbdev/aty/radeonfb.h @@ -20,7 +20,7 @@ #include <asm/io.h> -#if defined(CONFIG_PPC_OF) || defined(CONFIG_SPARC) +#if defined(CONFIG_PPC) || defined(CONFIG_SPARC) #include <asm/prom.h> #endif @@ -301,7 +301,7 @@ struct radeonfb_info { unsigned long fb_local_base; struct pci_dev *pdev; -#if defined(CONFIG_PPC_OF) || defined(CONFIG_SPARC) +#if defined(CONFIG_PPC) || defined(CONFIG_SPARC) struct device_node *of_node; #endif |