aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/sbus/char/envctrl.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-08-31 04:23:17 -0400
committerDavid S. Miller <davem@davemloft.net>2008-08-31 04:23:17 -0400
commitfd098316ef533e8441576f020ead4beab93154ce (patch)
tree6188bbbf2357585dbeeac9d055ef2e771b78bac8 /drivers/sbus/char/envctrl.c
parent933b2a1d8d458d6fe12b5efd63a0432852c44d6d (diff)
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/envctrl.c')
-rw-r--r--drivers/sbus/char/envctrl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sbus/char/envctrl.c b/drivers/sbus/char/envctrl.c
index ea8c35cbffd3..58e583b61e60 100644
--- a/drivers/sbus/char/envctrl.c
+++ b/drivers/sbus/char/envctrl.c
@@ -1120,7 +1120,7 @@ static int __devexit envctrl_remove(struct of_device *op)
1120 return 0; 1120 return 0;
1121} 1121}
1122 1122
1123static struct of_device_id envctrl_match[] = { 1123static const struct of_device_id envctrl_match[] = {
1124 { 1124 {
1125 .name = "i2c", 1125 .name = "i2c",
1126 .compatible = "i2cpcf,8584", 1126 .compatible = "i2cpcf,8584",