summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel
diff options
context:
space:
mode:
authorDavid S. Miller2008-08-31 10:23:17 +0200
committerDavid S. Miller2008-08-31 10:23:17 +0200
commitfd098316ef533e8441576f020ead4beab93154ce (patch)
tree6188bbbf2357585dbeeac9d055ef2e771b78bac8 /arch/sparc/kernel
parentsparc: Stop setting NO_DMA. (diff)
downloadkernel-qcow2-linux-fd098316ef533e8441576f020ead4beab93154ce.tar.gz
kernel-qcow2-linux-fd098316ef533e8441576f020ead4beab93154ce.tar.xz
kernel-qcow2-linux-fd098316ef533e8441576f020ead4beab93154ce.zip
sparc: Annotate of_device_id arrays with const or __initdata.
As suggested by Stephen Rothwell. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel')
-rw-r--r--arch/sparc/kernel/apc.c2
-rw-r--r--arch/sparc/kernel/pmc.c2
-rw-r--r--arch/sparc/kernel/time.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/arch/sparc/kernel/apc.c b/arch/sparc/kernel/apc.c
index 0a20cd85fd31..4dd1ba752ce6 100644
--- a/arch/sparc/kernel/apc.c
+++ b/arch/sparc/kernel/apc.c
@@ -182,7 +182,7 @@ static int __devinit apc_probe(struct of_device *op,
return 0;
}
-static struct of_device_id apc_match[] = {
+static struct of_device_id __initdata apc_match[] = {
{
.name = APC_OBPNAME,
},
diff --git a/arch/sparc/kernel/pmc.c b/arch/sparc/kernel/pmc.c
index 9976e82e3233..814eb3ce039b 100644
--- a/arch/sparc/kernel/pmc.c
+++ b/arch/sparc/kernel/pmc.c
@@ -72,7 +72,7 @@ static int __devinit pmc_probe(struct of_device *op,
return 0;
}
-static struct of_device_id pmc_match[] = {
+static struct of_device_id __initdata pmc_match[] = {
{
.name = PMC_OBPNAME,
},
diff --git a/arch/sparc/kernel/time.c b/arch/sparc/kernel/time.c
index a713bb43db84..339c4762fbcf 100644
--- a/arch/sparc/kernel/time.c
+++ b/arch/sparc/kernel/time.c
@@ -338,7 +338,7 @@ static int __devinit clock_probe(struct of_device *op, const struct of_device_id
return 0;
}
-static struct of_device_id clock_match[] = {
+static struct of_device_id __initdata clock_match[] = {
{
.name = "eeprom",
},