diff options
author | Josh Boyer <jwboyer@linux.vnet.ibm.com> | 2007-12-24 09:40:31 -0500 |
---|---|---|
committer | Josh Boyer <jwboyer@linux.vnet.ibm.com> | 2007-12-24 09:40:31 -0500 |
commit | 8cb34d291d3bcf03f284a4c44c9d618ffc278a9d (patch) | |
tree | ccc44835510ae8c7604587e285b4eca5b002e29e /arch/powerpc/platforms/40x/walnut.c | |
parent | 990116237092460d886660f31b3c6f602749654a (diff) |
[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/walnut.c')
-rw-r--r-- | arch/powerpc/platforms/40x/walnut.c | 3 |
1 files changed, 1 insertions, 2 deletions
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 @@ | |||
26 | #include <asm/uic.h> | 26 | #include <asm/uic.h> |
27 | #include <asm/pci-bridge.h> | 27 | #include <asm/pci-bridge.h> |
28 | 28 | ||
29 | static struct of_device_id walnut_of_bus[] = { | 29 | static __initdata struct of_device_id walnut_of_bus[] = { |
30 | { .compatible = "ibm,plb3", }, | 30 | { .compatible = "ibm,plb3", }, |
31 | { .compatible = "ibm,opb", }, | 31 | { .compatible = "ibm,opb", }, |
32 | { .compatible = "ibm,ebc", }, | 32 | { .compatible = "ibm,ebc", }, |
@@ -38,7 +38,6 @@ static int __init walnut_device_probe(void) | |||
38 | if (!machine_is(walnut)) | 38 | if (!machine_is(walnut)) |
39 | return 0; | 39 | return 0; |
40 | 40 | ||
41 | /* FIXME: do bus probe here */ | ||
42 | of_platform_bus_probe(NULL, walnut_of_bus, NULL); | 41 | of_platform_bus_probe(NULL, walnut_of_bus, NULL); |
43 | 42 | ||
44 | return 0; | 43 | return 0; |