Skip to content

Commit

Permalink
[POWERPC] 4xx: Mark of_bus structures as __initdata
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Josh Boyer committed Dec 24, 2007
1 parent 9901162 commit 8cb34d2
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/40x/ep405.c
Original file line number Diff line number Diff line change
Expand Up @@ -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", },
Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/40x/kilauea.c
Original file line number Diff line number Diff line change
Expand Up @@ -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", },
Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/40x/makalu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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", },
Expand Down
3 changes: 1 addition & 2 deletions arch/powerpc/platforms/40x/walnut.c
Original file line number Diff line number Diff line change
Expand Up @@ -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", },
Expand All @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/44x/bamboo.c
Original file line number Diff line number Diff line change
Expand Up @@ -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", },
Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/44x/ebony.c
Original file line number Diff line number Diff line change
Expand Up @@ -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", },
Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/44x/katmai.c
Original file line number Diff line number Diff line change
Expand Up @@ -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", },
Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/44x/rainier.c
Original file line number Diff line number Diff line change
Expand Up @@ -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", },
Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/44x/sequoia.c
Original file line number Diff line number Diff line change
Expand Up @@ -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", },
Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/44x/taishan.c
Original file line number Diff line number Diff line change
Expand Up @@ -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", },
Expand Down

0 comments on commit 8cb34d2

Please sign in to comment.