summaryrefslogtreecommitdiff
path: root/drivers/sbus/char/flash.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-08-31 08:23:17 (GMT)
committerDavid S. Miller <davem@davemloft.net>2008-08-31 08:23:17 (GMT)
commitfd098316ef533e8441576f020ead4beab93154ce (patch)
tree6188bbbf2357585dbeeac9d055ef2e771b78bac8 /drivers/sbus/char/flash.c
parent933b2a1d8d458d6fe12b5efd63a0432852c44d6d (diff)
downloadlinux-fsl-qoriq-fd098316ef533e8441576f020ead4beab93154ce.tar.xz
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/flash.c')
-rw-r--r--drivers/sbus/char/flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sbus/char/flash.c b/drivers/sbus/char/flash.c
index 715996f..4108347 100644
--- a/drivers/sbus/char/flash.c
+++ b/drivers/sbus/char/flash.c
@@ -199,7 +199,7 @@ static int __devexit flash_remove(struct of_device *op)
return 0;
}
-static struct of_device_id flash_match[] = {
+static const struct of_device_id flash_match[] = {
{
.name = "flashprom",
},