]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[POWERPC] Use <linux/of_{platform, device}.h> and not <asm/...> variants.
authorJon Loeliger <jdl@freescale.com>
Mon, 7 Jan 2008 18:07:15 +0000 (05:07 +1100)
committerPaul Mackerras <paulus@samba.org>
Thu, 17 Jan 2008 03:58:57 +0000 (14:58 +1100)
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/of_device.c
arch/powerpc/platforms/44x/rainier.c
arch/powerpc/platforms/maple/setup.c

index 3388ad61999654feda0a0794f657a9492325ea38..5748ddb47d9f82fc332b844e56613d3a6e84a07b 100644 (file)
@@ -5,10 +5,10 @@
 #include <linux/module.h>
 #include <linux/mod_devicetable.h>
 #include <linux/slab.h>
+#include <linux/of_device.h>
 
 #include <asm/errno.h>
 #include <asm/dcr.h>
-#include <asm/of_device.h>
 
 static void of_device_make_bus_id(struct of_device *dev)
 {
index a4ce5ba8fe3282a4eac93f7837363511e2bfce96..a7fae1cf69c1cdd76cf116543c51a4136c2d8b65 100644 (file)
  * option) any later version.
  */
 #include <linux/init.h>
+#include <linux/of_platform.h>
+
 #include <asm/machdep.h>
 #include <asm/prom.h>
 #include <asm/udbg.h>
 #include <asm/time.h>
 #include <asm/uic.h>
-#include <asm/of_platform.h>
 #include <asm/pci-bridge.h>
 #include "44x.h"
 
index 144177d77cf1075bf590afb8492141d932f59200..3ce2d73b4177791c1a61a7643bd6e1ff7def86aa 100644 (file)
@@ -42,6 +42,7 @@
 #include <linux/serial.h>
 #include <linux/smp.h>
 #include <linux/bitops.h>
+#include <linux/of_device.h>
 
 #include <asm/processor.h>
 #include <asm/sections.h>
@@ -56,7 +57,6 @@
 #include <asm/dma.h>
 #include <asm/cputable.h>
 #include <asm/time.h>
-#include <asm/of_device.h>
 #include <asm/lmb.h>
 #include <asm/mpic.h>
 #include <asm/rtas.h>