[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>
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user