diff options
author | Josh Boyer <jwboyer@linux.vnet.ibm.com> | 2007-12-24 08:40:31 -0600 |
---|---|---|
committer | Josh Boyer <jwboyer@linux.vnet.ibm.com> | 2007-12-24 08:40:31 -0600 |
commit | 8cb34d291d3bcf03f284a4c44c9d618ffc278a9d (patch) | |
tree | ccc44835510ae8c7604587e285b4eca5b002e29e /arch/powerpc/platforms/40x | |
parent | 990116237092460d886660f31b3c6f602749654a (diff) | |
download | talos-op-linux-8cb34d291d3bcf03f284a4c44c9d618ffc278a9d.tar.gz talos-op-linux-8cb34d291d3bcf03f284a4c44c9d618ffc278a9d.zip |
[POWERPC] 4xx: Mark of_bus structures as __initdata
Mark the of_device_id structures used to probe the various busses on 4xx
as __initdata.
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Diffstat (limited to 'arch/powerpc/platforms/40x')
-rw-r--r-- | arch/powerpc/platforms/40x/ep405.c | 2 | ||||
-rw-r--r-- | arch/powerpc/platforms/40x/kilauea.c | 2 | ||||
-rw-r--r-- | arch/powerpc/platforms/40x/makalu.c | 2 | ||||
-rw-r--r-- | arch/powerpc/platforms/40x/walnut.c | 3 |
4 files changed, 4 insertions, 5 deletions
diff --git a/arch/powerpc/platforms/40x/ep405.c b/arch/powerpc/platforms/40x/ep405.c index 759d937cdb65..8f73b6222e8b 100644 --- a/arch/powerpc/platforms/40x/ep405.c +++ b/arch/powerpc/platforms/40x/ep405.c @@ -48,7 +48,7 @@ static void __iomem *bcsr_regs; /* there's more, can't be bothered typing them tho */ -static struct of_device_id ep405_of_bus[] = { +static __initdata struct of_device_id ep405_of_bus[] = { { .compatible = "ibm,plb3", }, { .compatible = "ibm,opb", }, { .compatible = "ibm,ebc", }, diff --git a/arch/powerpc/platforms/40x/kilauea.c b/arch/powerpc/platforms/40x/kilauea.c index 4470940065b7..a23368042e67 100644 --- a/arch/powerpc/platforms/40x/kilauea.c +++ b/arch/powerpc/platforms/40x/kilauea.c @@ -21,7 +21,7 @@ #include <asm/uic.h> #include <asm/pci-bridge.h> -static struct of_device_id kilauea_of_bus[] = { +static __initdata struct of_device_id kilauea_of_bus[] = { { .compatible = "ibm,plb4", }, { .compatible = "ibm,opb", }, { .compatible = "ibm,ebc", }, diff --git a/arch/powerpc/platforms/40x/makalu.c b/arch/powerpc/platforms/40x/makalu.c index 780f5ec1aa48..68bad7764522 100644 --- a/arch/powerpc/platforms/40x/makalu.c +++ b/arch/powerpc/platforms/40x/makalu.c @@ -21,7 +21,7 @@ #include <asm/uic.h> #include <asm/pci-bridge.h> -static struct of_device_id makalu_of_bus[] = { +static __initdata struct of_device_id makalu_of_bus[] = { { .compatible = "ibm,plb4", }, { .compatible = "ibm,opb", }, { .compatible = "ibm,ebc", }, diff --git a/arch/powerpc/platforms/40x/walnut.c b/arch/powerpc/platforms/40x/walnut.c index aea97017a7d4..a968e88a58a7 100644 --- a/arch/powerpc/platforms/40x/walnut.c +++ b/arch/powerpc/platforms/40x/walnut.c @@ -26,7 +26,7 @@ #include <asm/uic.h> #include <asm/pci-bridge.h> -static struct of_device_id walnut_of_bus[] = { +static __initdata struct of_device_id walnut_of_bus[] = { { .compatible = "ibm,plb3", }, { .compatible = "ibm,opb", }, { .compatible = "ibm,ebc", }, @@ -38,7 +38,6 @@ static int __init walnut_device_probe(void) if (!machine_is(walnut)) return 0; - /* FIXME: do bus probe here */ of_platform_bus_probe(NULL, walnut_of_bus, NULL); return 0; |