aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorJosh Boyer <jwboyer@linux.vnet.ibm.com>2007-12-24 09:40:31 -0500
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>2007-12-24 09:40:31 -0500
commit8cb34d291d3bcf03f284a4c44c9d618ffc278a9d (patch)
treeccc44835510ae8c7604587e285b4eca5b002e29e /arch/powerpc
parent990116237092460d886660f31b3c6f602749654a (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')
-rw-r--r--arch/powerpc/platforms/40x/ep405.c2
-rw-r--r--arch/powerpc/platforms/40x/kilauea.c2
-rw-r--r--arch/powerpc/platforms/40x/makalu.c2
-rw-r--r--arch/powerpc/platforms/40x/walnut.c3
-rw-r--r--arch/powerpc/platforms/44x/bamboo.c2
-rw-r--r--arch/powerpc/platforms/44x/ebony.c2
-rw-r--r--arch/powerpc/platforms/44x/katmai.c2
-rw-r--r--arch/powerpc/platforms/44x/rainier.c2
-rw-r--r--arch/powerpc/platforms/44x/sequoia.c2
-rw-r--r--arch/powerpc/platforms/44x/taishan.c2
10 files changed, 10 insertions, 11 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;
48/* there's more, can't be bothered typing them tho */ 48/* there's more, can't be bothered typing them tho */
49 49
50 50
51static struct of_device_id ep405_of_bus[] = { 51static __initdata struct of_device_id ep405_of_bus[] = {
52 { .compatible = "ibm,plb3", }, 52 { .compatible = "ibm,plb3", },
53 { .compatible = "ibm,opb", }, 53 { .compatible = "ibm,opb", },
54 { .compatible = "ibm,ebc", }, 54 { .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 @@
21#include <asm/uic.h> 21#include <asm/uic.h>
22#include <asm/pci-bridge.h> 22#include <asm/pci-bridge.h>
23 23
24static struct of_device_id kilauea_of_bus[] = { 24static __initdata struct of_device_id kilauea_of_bus[] = {
25 { .compatible = "ibm,plb4", }, 25 { .compatible = "ibm,plb4", },
26 { .compatible = "ibm,opb", }, 26 { .compatible = "ibm,opb", },
27 { .compatible = "ibm,ebc", }, 27 { .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 @@
21#include <asm/uic.h> 21#include <asm/uic.h>
22#include <asm/pci-bridge.h> 22#include <asm/pci-bridge.h>
23 23
24static struct of_device_id makalu_of_bus[] = { 24static __initdata struct of_device_id makalu_of_bus[] = {
25 { .compatible = "ibm,plb4", }, 25 { .compatible = "ibm,plb4", },
26 { .compatible = "ibm,opb", }, 26 { .compatible = "ibm,opb", },
27 { .compatible = "ibm,ebc", }, 27 { .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 @@
26#include <asm/uic.h> 26#include <asm/uic.h>
27#include <asm/pci-bridge.h> 27#include <asm/pci-bridge.h>
28 28
29static struct of_device_id walnut_of_bus[] = { 29static __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;
diff --git a/arch/powerpc/platforms/44x/bamboo.c b/arch/powerpc/platforms/44x/bamboo.c
index 553c9f18aa77..d27f758d9cb2 100644
--- a/arch/powerpc/platforms/44x/bamboo.c
+++ b/arch/powerpc/platforms/44x/bamboo.c
@@ -25,7 +25,7 @@
25 25
26#include "44x.h" 26#include "44x.h"
27 27
28static struct of_device_id bamboo_of_bus[] = { 28static __initdata struct of_device_id bamboo_of_bus[] = {
29 { .compatible = "ibm,plb4", }, 29 { .compatible = "ibm,plb4", },
30 { .compatible = "ibm,opb", }, 30 { .compatible = "ibm,opb", },
31 { .compatible = "ibm,ebc", }, 31 { .compatible = "ibm,ebc", },
diff --git a/arch/powerpc/platforms/44x/ebony.c b/arch/powerpc/platforms/44x/ebony.c
index 262f300cc10d..767db4f9fc2c 100644
--- a/arch/powerpc/platforms/44x/ebony.c
+++ b/arch/powerpc/platforms/44x/ebony.c
@@ -28,7 +28,7 @@
28 28
29#include "44x.h" 29#include "44x.h"
30 30
31static struct of_device_id ebony_of_bus[] = { 31static __initdata struct of_device_id ebony_of_bus[] = {
32 { .compatible = "ibm,plb4", }, 32 { .compatible = "ibm,plb4", },
33 { .compatible = "ibm,opb", }, 33 { .compatible = "ibm,opb", },
34 { .compatible = "ibm,ebc", }, 34 { .compatible = "ibm,ebc", },
diff --git a/arch/powerpc/platforms/44x/katmai.c b/arch/powerpc/platforms/44x/katmai.c
index 158ca0558a00..06aa0aa3cf0e 100644
--- a/arch/powerpc/platforms/44x/katmai.c
+++ b/arch/powerpc/platforms/44x/katmai.c
@@ -25,7 +25,7 @@
25 25
26#include "44x.h" 26#include "44x.h"
27 27
28static struct of_device_id katmai_of_bus[] = { 28static __initdata struct of_device_id katmai_of_bus[] = {
29 { .compatible = "ibm,plb4", }, 29 { .compatible = "ibm,plb4", },
30 { .compatible = "ibm,opb", }, 30 { .compatible = "ibm,opb", },
31 { .compatible = "ibm,ebc", }, 31 { .compatible = "ibm,ebc", },
diff --git a/arch/powerpc/platforms/44x/rainier.c b/arch/powerpc/platforms/44x/rainier.c
index ce8167bb301f..4e06039ec665 100644
--- a/arch/powerpc/platforms/44x/rainier.c
+++ b/arch/powerpc/platforms/44x/rainier.c
@@ -23,7 +23,7 @@
23#include <asm/pci-bridge.h> 23#include <asm/pci-bridge.h>
24#include "44x.h" 24#include "44x.h"
25 25
26static struct of_device_id rainier_of_bus[] = { 26static __initdata struct of_device_id rainier_of_bus[] = {
27 { .compatible = "ibm,plb4", }, 27 { .compatible = "ibm,plb4", },
28 { .compatible = "ibm,opb", }, 28 { .compatible = "ibm,opb", },
29 { .compatible = "ibm,ebc", }, 29 { .compatible = "ibm,ebc", },
diff --git a/arch/powerpc/platforms/44x/sequoia.c b/arch/powerpc/platforms/44x/sequoia.c
index b9085a6c4c10..1326f0c68712 100644
--- a/arch/powerpc/platforms/44x/sequoia.c
+++ b/arch/powerpc/platforms/44x/sequoia.c
@@ -25,7 +25,7 @@
25 25
26#include "44x.h" 26#include "44x.h"
27 27
28static struct of_device_id sequoia_of_bus[] = { 28static __initdata struct of_device_id sequoia_of_bus[] = {
29 { .compatible = "ibm,plb4", }, 29 { .compatible = "ibm,plb4", },
30 { .compatible = "ibm,opb", }, 30 { .compatible = "ibm,opb", },
31 { .compatible = "ibm,ebc", }, 31 { .compatible = "ibm,ebc", },
diff --git a/arch/powerpc/platforms/44x/taishan.c b/arch/powerpc/platforms/44x/taishan.c
index ca71666bde27..d525f487e244 100644
--- a/arch/powerpc/platforms/44x/taishan.c
+++ b/arch/powerpc/platforms/44x/taishan.c
@@ -32,7 +32,7 @@
32 32
33#include "44x.h" 33#include "44x.h"
34 34
35static struct of_device_id taishan_of_bus[] = { 35static __initdata struct of_device_id taishan_of_bus[] = {
36 { .compatible = "ibm,plb4", }, 36 { .compatible = "ibm,plb4", },
37 { .compatible = "ibm,opb", }, 37 { .compatible = "ibm,opb", },
38 { .compatible = "ibm,ebc", }, 38 { .compatible = "ibm,ebc", },