Skip to contentSkip to conversation

Replace some #includes of asm/of_platform.h with linux/of_platform.h.

PATCH In review Jon Loeliger 3 participants 3 messages Nov 5, 2007 – Nov 6, 2007

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Replace some #includes of asm/of_platform.h with linux/of_platform.h.

From: Jon Loeliger <[email protected]>

---
Chip away at some janitor work.

 arch/powerpc/platforms/82xx/pq2fads.c     |    2 +-
 arch/powerpc/platforms/83xx/mpc832x_mds.c |    2 +-
 arch/powerpc/platforms/83xx/mpc832x_rdb.c |    2 +-
 arch/powerpc/platforms/83xx/mpc836x_mds.c |    2 +-
 arch/powerpc/platforms/85xx/mpc85xx_mds.c |    2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)
arch/powerpc/platforms/82xx/pq2fads.c +1 -1
index 4f457a9..1be5005 100644
@@ -15,12 +15,12 @@
 #include <linux/init.h>
 #include <linux/interrupt.h>
 #include <linux/fsl_devices.h>
+#include <linux/of_platform.h>
 
 #include <asm/io.h>
 #include <asm/cpm2.h>
 #include <asm/udbg.h>
 #include <asm/machdep.h>
-#include <asm/of_platform.h>
 #include <asm/time.h>
 
 #include <sysdev/fsl_soc.h>
arch/powerpc/platforms/83xx/mpc832x_mds.c +1 -1
index 972fa85..3ea59af 100644
@@ -23,9 +23,9 @@
 #include <linux/seq_file.h>
 #include <linux/root_dev.h>
 #include <linux/initrd.h>
+#include <linux/of_platform.h>
 
 #include <asm/of_device.h>
-#include <asm/of_platform.h>
 #include <asm/system.h>
 #include <asm/atomic.h>
 #include <asm/time.h>
arch/powerpc/platforms/83xx/mpc832x_rdb.c +1 -1
index fbca336..24e6ce6 100644
@@ -16,8 +16,8 @@
 
 #include <linux/pci.h>
 #include <linux/spi/spi.h>
+#include <linux/of_platform.h>
 
-#include <asm/of_platform.h>
 #include <asm/time.h>
 #include <asm/ipic.h>
 #include <asm/udbg.h>
arch/powerpc/platforms/83xx/mpc836x_mds.c +1 -1
index 0f3855c..ec1b03b 100644
@@ -29,9 +29,9 @@
 #include <linux/seq_file.h>
 #include <linux/root_dev.h>
 #include <linux/initrd.h>
+#include <linux/of_platform.h>
 
 #include <asm/of_device.h>
-#include <asm/of_platform.h>
 #include <asm/system.h>
 #include <asm/atomic.h>
 #include <asm/time.h>
arch/powerpc/platforms/85xx/mpc85xx_mds.c +1 -1
index 61b3eed..1d81d22 100644
@@ -30,9 +30,9 @@
 #include <linux/initrd.h>
 #include <linux/module.h>
 #include <linux/fsl_devices.h>
+#include <linux/of_platform.h>
 
 #include <asm/of_device.h>
-#include <asm/of_platform.h>
 #include <asm/system.h>
 #include <asm/atomic.h>
 #include <asm/time.h>
Signature · 1 line
1.5.3
Acked-by on v1 1/1
#1 lore raw

Hi Jon,

Thanks for starting this.

Quoted 4 lines · On Mon, 05 Nov 2007 15:05:06 -0600 Jon Loeliger <[email protected]> wrote:

From: Jon Loeliger <[email protected]>

Quoted 1 line

#include <asm/of_device.h>

asm/of_device.h -> linux/of_device.h as well? :-)

Signature · 3 lines
Cheers,
Stephen Rothwell                    [email protected]
http://www.canb.auug.org.au/~sfr/
#2 lore raw

So, like, the other day Stephen Rothwell mumbled:

Quoted 4 lines

Hi Jon,

Thanks for starting this.

No problem.

Quoted 3 lines
Quoted 1 line

#include <asm/of_device.h>

asm/of_device.h -> linux/of_device.h as well? :-)

Oh! Sure! I'll respin these two.

jdl