summaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/chmc.c
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/sparc64/kernel/chmc.c
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/sparc64/kernel/chmc.c')
-rw-r--r--arch/sparc64/kernel/chmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/chmc.c b/arch/sparc64/kernel/chmc.c
index 3e14952e9407..2ed401087cab 100644
--- a/arch/sparc64/kernel/chmc.c
+++ b/arch/sparc64/kernel/chmc.c
@@ -801,7 +801,7 @@ static int __devexit us3mc_remove(struct of_device *op)
return 0;
}
-static struct of_device_id us3mc_match[] = {
+static const struct of_device_id us3mc_match[] = {
{
.name = "memory-controller",
},