[POWERPC] 4xx: Mark of_bus structures as __initdata
authorJosh Boyer <jwboyer@linux.vnet.ibm.com>
Mon, 24 Dec 2007 14:40:31 +0000 (08:40 -0600)
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>
Mon, 24 Dec 2007 14:40:31 +0000 (08:40 -0600)
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>
arch/powerpc/platforms/40x/ep405.c
arch/powerpc/platforms/40x/kilauea.c
arch/powerpc/platforms/40x/makalu.c
arch/powerpc/platforms/40x/walnut.c
arch/powerpc/platforms/44x/bamboo.c
arch/powerpc/platforms/44x/ebony.c
arch/powerpc/platforms/44x/katmai.c
arch/powerpc/platforms/44x/rainier.c
arch/powerpc/platforms/44x/sequoia.c
arch/powerpc/platforms/44x/taishan.c

index 759d937cdb65d0e5b0f518e06d3802be0ed64219..8f73b6222e8b243b34b2d7851257df3e81ebc967 100644 (file)
@@ -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", },
index 4470940065b7b51ddf99dd772e4e4e37ede3e944..a23368042e67b017907e724d77462a99e9588938 100644 (file)
@@ -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", },
index 780f5ec1aa482a69678b203d9adf8adebe7956c2..68bad77645229e3b2d70f3aa65d11b21ee5ae916 100644 (file)
@@ -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", },
index aea97017a7d4779194c1e17d796676817807f814..a968e88a58a74ddd958f017eec2b5e18422bf06a 100644 (file)
@@ -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;
index 553c9f18aa7711a381849abcfdf4d9c7e86a5517..d27f758d9cb2338c9c567d108b4f95a318c5d5e6 100644 (file)
@@ -25,7 +25,7 @@
 
 #include "44x.h"
 
-static struct of_device_id bamboo_of_bus[] = {
+static __initdata struct of_device_id bamboo_of_bus[] = {
        { .compatible = "ibm,plb4", },
        { .compatible = "ibm,opb", },
        { .compatible = "ibm,ebc", },
index 262f300cc10d78e5b9fda9d0cf73cd9fef46fe5a..767db4f9fc2c3b16edee02207bceb49dd3b6b427 100644 (file)
@@ -28,7 +28,7 @@
 
 #include "44x.h"
 
-static struct of_device_id ebony_of_bus[] = {
+static __initdata struct of_device_id ebony_of_bus[] = {
        { .compatible = "ibm,plb4", },
        { .compatible = "ibm,opb", },
        { .compatible = "ibm,ebc", },
index 158ca0558a008c94d9f7208548e73eee6ae52806..06aa0aa3cf0e8175fc914dd96e51ec744d532d56 100644 (file)
@@ -25,7 +25,7 @@
 
 #include "44x.h"
 
-static struct of_device_id katmai_of_bus[] = {
+static __initdata struct of_device_id katmai_of_bus[] = {
        { .compatible = "ibm,plb4", },
        { .compatible = "ibm,opb", },
        { .compatible = "ibm,ebc", },
index ce8167bb301f79fc5e6667cf469d708c4af6be62..4e06039ec66531991e1fa32e2d1176bbaa198336 100644 (file)
@@ -23,7 +23,7 @@
 #include <asm/pci-bridge.h>
 #include "44x.h"
 
-static struct of_device_id rainier_of_bus[] = {
+static __initdata struct of_device_id rainier_of_bus[] = {
        { .compatible = "ibm,plb4", },
        { .compatible = "ibm,opb", },
        { .compatible = "ibm,ebc", },
index b9085a6c4c1064b7b7025b54520785eea949a504..1326f0c6871222cb99620a6bfd1ba4bc4dcfdfe8 100644 (file)
@@ -25,7 +25,7 @@
 
 #include "44x.h"
 
-static struct of_device_id sequoia_of_bus[] = {
+static __initdata struct of_device_id sequoia_of_bus[] = {
        { .compatible = "ibm,plb4", },
        { .compatible = "ibm,opb", },
        { .compatible = "ibm,ebc", },
index ca71666bde272af1e3e4d00ad67fb9b93e80cfa5..d525f487e2448c57ca17bc995e23feece189cdd2 100644 (file)
@@ -32,7 +32,7 @@
 
 #include "44x.h"
 
-static struct of_device_id taishan_of_bus[] = {
+static __initdata struct of_device_id taishan_of_bus[] = {
        { .compatible = "ibm,plb4", },
        { .compatible = "ibm,opb", },
        { .compatible = "ibm,ebc", },