Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=8cb34d291d3bcf03f284a4c44c9d618ffc278a9d
Commit:     8cb34d291d3bcf03f284a4c44c9d618ffc278a9d
Parent:     990116237092460d886660f31b3c6f602749654a
Author:     Josh Boyer <[EMAIL PROTECTED]>
AuthorDate: Mon Dec 24 08:40:31 2007 -0600
Committer:  Josh Boyer <[EMAIL PROTECTED]>
CommitDate: Mon Dec 24 08:40:31 2007 -0600

    [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 <[EMAIL PROTECTED]>
---
 arch/powerpc/platforms/40x/ep405.c   |    2 +-
 arch/powerpc/platforms/40x/kilauea.c |    2 +-
 arch/powerpc/platforms/40x/makalu.c  |    2 +-
 arch/powerpc/platforms/40x/walnut.c  |    3 +--
 arch/powerpc/platforms/44x/bamboo.c  |    2 +-
 arch/powerpc/platforms/44x/ebony.c   |    2 +-
 arch/powerpc/platforms/44x/katmai.c  |    2 +-
 arch/powerpc/platforms/44x/rainier.c |    2 +-
 arch/powerpc/platforms/44x/sequoia.c |    2 +-
 arch/powerpc/platforms/44x/taishan.c |    2 +-
 10 files changed, 10 insertions(+), 11 deletions(-)

diff --git a/arch/powerpc/platforms/40x/ep405.c 
b/arch/powerpc/platforms/40x/ep405.c
index 759d937..8f73b62 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 4470940..a233680 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 780f5ec..68bad77 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 aea9701..a968e88 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;
diff --git a/arch/powerpc/platforms/44x/bamboo.c 
b/arch/powerpc/platforms/44x/bamboo.c
index 553c9f1..d27f758 100644
--- a/arch/powerpc/platforms/44x/bamboo.c
+++ b/arch/powerpc/platforms/44x/bamboo.c
@@ -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", },
diff --git a/arch/powerpc/platforms/44x/ebony.c 
b/arch/powerpc/platforms/44x/ebony.c
index 262f300..767db4f 100644
--- a/arch/powerpc/platforms/44x/ebony.c
+++ b/arch/powerpc/platforms/44x/ebony.c
@@ -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", },
diff --git a/arch/powerpc/platforms/44x/katmai.c 
b/arch/powerpc/platforms/44x/katmai.c
index 158ca05..06aa0aa 100644
--- a/arch/powerpc/platforms/44x/katmai.c
+++ b/arch/powerpc/platforms/44x/katmai.c
@@ -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", },
diff --git a/arch/powerpc/platforms/44x/rainier.c 
b/arch/powerpc/platforms/44x/rainier.c
index ce8167b..4e06039 100644
--- a/arch/powerpc/platforms/44x/rainier.c
+++ b/arch/powerpc/platforms/44x/rainier.c
@@ -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", },
diff --git a/arch/powerpc/platforms/44x/sequoia.c 
b/arch/powerpc/platforms/44x/sequoia.c
index b9085a6..1326f0c 100644
--- a/arch/powerpc/platforms/44x/sequoia.c
+++ b/arch/powerpc/platforms/44x/sequoia.c
@@ -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", },
diff --git a/arch/powerpc/platforms/44x/taishan.c 
b/arch/powerpc/platforms/44x/taishan.c
index ca71666..d525f48 100644
--- a/arch/powerpc/platforms/44x/taishan.c
+++ b/arch/powerpc/platforms/44x/taishan.c
@@ -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", },
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to