Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8cb34d29 authored by Josh Boyer's avatar Josh Boyer
Browse files

[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: default avatarJosh Boyer <jwboyer@linux.vnet.ibm.com>
parent 99011623
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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", },
+1 −1
Original line number Diff line number Diff line
@@ -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", },
+1 −1
Original line number Diff line number Diff line
@@ -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", },
+1 −2
Original line number Diff line number Diff line
@@ -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;
+1 −1
Original line number Diff line number Diff line
@@ -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", },
Loading