Skip to contentSkip to conversation

powerpc: include new of_platform.h for 836x and 832x

PATCH In review Li Yang 2 participants 2 messages Jan 30, 2007

Subsystems (2)
lore
Share & tools
lore

Li Yang

author
#0 lore raw

PATCH 1/1 powerpc: include new of_platform.h for 836x and 832x

Some prototypes are separated from of_device.h into of_platform.h. Add the new include to fix warning.

arch/powerpc/platforms/83xx/mpc832x_mds.c |    1 +
arch/powerpc/platforms/83xx/mpc8360e_pb.c |    1 +
2 files changed, 2 insertions(+), 0 deletions(-)
arch/powerpc/platforms/83xx/mpc832x_mds.c +0 -0
index 4d47119..2c7a1e9 100644
@@ -25,6 +25,7 @@

#include <linux/initrd.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/mpc8360e_pb.c +0 -0
index 53b92a9..a1e23f0 100644
@@ -31,6 +31,7 @@

#include <linux/initrd.h>

#include <asm/of_device.h>
+#include <asm/of_platform.h>
#include <asm/system.h>
#include <asm/atomic.h>
#include <asm/time.h>

#1 lore raw
Quoted 4 lines · Li Yang

Some prototypes are separated from of_device.h into of_platform.h. Add the new include to fix warning.

Li,

Please copy me in the future as 83xx maintainer.

Paul,

I've picked up this patch and its in my for_paulus branch.

- k

Quoted 34 lines
---
 arch/powerpc/platforms/83xx/mpc832x_mds.c |    1 +
 arch/powerpc/platforms/83xx/mpc8360e_pb.c |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
arch/powerpc/platforms/83xx/mpc832x_mds.c +1 -0
index 4d47119..2c7a1e9 100644
@@ -25,6 +25,7 @@
 #include <linux/initrd.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/mpc8360e_pb.c +1 -0
index 53b92a9..a1e23f0 100644
@@ -31,6 +31,7 @@
 #include <linux/initrd.h>
 
 #include <asm/of_device.h>
+#include <asm/of_platform.h>
 #include <asm/system.h>
 #include <asm/atomic.h>
 #include <asm/time.h>

_______________________________________________
Linuxppc-dev mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-dev