powerpc: include new of_platform.h for 836x and 832x
Subsystems (2)
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
@@ -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
@@ -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>
Quoted 4 lines · Li Yang
Some prototypes are separated from
of_device.hintoof_platform.h. Add the new include to fix warning.Signed-off-by Li Yang <[email protected]>
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@@ -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@@ -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