summaryrefslogtreecommitdiffstats
path: root/drivers/sbus/char/uctrl.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-08-31 10:23:17 +0200
committerDavid S. Miller <davem@davemloft.net>2008-08-31 10:23:17 +0200
commitfd098316ef533e8441576f020ead4beab93154ce (patch)
tree6188bbbf2357585dbeeac9d055ef2e771b78bac8 /drivers/sbus/char/uctrl.c
parentsparc: Stop setting NO_DMA. (diff)
downloadlinux-fd098316ef533e8441576f020ead4beab93154ce.tar.xz
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 'drivers/sbus/char/uctrl.c')
-rw-r--r--drivers/sbus/char/uctrl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sbus/char/uctrl.c b/drivers/sbus/char/uctrl.c
index 6cff9777bbc0..27993c37775d 100644
--- a/drivers/sbus/char/uctrl.c
+++ b/drivers/sbus/char/uctrl.c
@@ -417,7 +417,7 @@ static int __devexit uctrl_remove(struct of_device *op)
return 0;
}
-static struct of_device_id uctrl_match[] = {
+static const struct of_device_id uctrl_match[] = {
{
.name = "uctrl",
},