4xx; Replace #includes of asm/of_platform.h with linux/of_platform.h.
Subsystems (2)
PATCH 1/1 4xx; Replace #includes of asm/of_platform.h with linux/of_platform.h.
From: Jon Loeliger <[email protected]>
Signed-off-by Jon Loeliger <[email protected]>
---
Chip away at some janitor work.
arch/powerpc/platforms/40x/walnut.c | 3 ++- arch/powerpc/platforms/44x/bamboo.c | 3 ++- arch/powerpc/platforms/44x/ebony.c | 3 ++- arch/powerpc/platforms/44x/sequoia.c | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-)
arch/powerpc/platforms/40x/walnut.c +2 -1
@@ -17,12 +17,13 @@*/ #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> static struct of_device_id walnut_of_bus[] = { { .compatible ="ibm,plb3" , },
arch/powerpc/platforms/44x/bamboo.c +2 -1
@@ -14,12 +14,13 @@* 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 "44x.h" static struct of_device_id bamboo_of_bus[] = {
arch/powerpc/platforms/44x/ebony.c +2 -1
@@ -17,12 +17,13 @@*/ #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 "44x.h"
arch/powerpc/platforms/44x/sequoia.c +2 -1
@@ -14,12 +14,13 @@* 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 "44x.h" static struct of_device_id sequoia_of_bus[] = {
Signature · 1 line
1.5.3
Quoted 4 lines · On Mon, 05 Nov 2007 15:43:43 -0600 Jon Loeliger <[email protected]> wrote:
From: Jon Loeliger <[email protected]>
Signed-off-by Jon Loeliger <[email protected]>
Acked-by Stephen Rothwell <[email protected]>
Signature · 3 lines
Cheers, Stephen Rothwell [email protected] http://www.canb.auug.org.au/~sfr/
Quoted 7 lines · On Tue, 6 Nov 2007 09:40:14 +1100 Stephen Rothwell <[email protected]> wrote:
Quoted 4 lines · On Mon, 05 Nov 2007 15:43:43 -0600 Jon Loeliger <[email protected]> wrote:
From: Jon Loeliger <[email protected]>
Signed-off-by Jon Loeliger <[email protected]>Acked-by Stephen Rothwell <[email protected]>
Yeah, this is fine with me too. But why haven't we put a #warning in asm/of_platform.h and asm/prom.h?
josh
Quoted 3 lines · On Mon, 5 Nov 2007 17:53:41 -0600 Josh Boyer <[email protected]> wrote:
Yeah, this is fine with me too. But why haven't we put a #warning in
asm/of_platform.handasm/prom.h?
Because thee are way to many places to be fixed yet. And asm/prom.h needs to be explicitly included if you want to use the flattened device tree accessors.
Signature · 3 lines
Cheers, Stephen Rothwell [email protected] http://www.canb.auug.org.au/~sfr/