aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/sbus/char
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
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')
-rw-r--r--drivers/sbus/char/bbc_i2c.c2
-rw-r--r--drivers/sbus/char/display7seg.c2
-rw-r--r--drivers/sbus/char/envctrl.c2
-rw-r--r--drivers/sbus/char/flash.c2
-rw-r--r--drivers/sbus/char/uctrl.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/drivers/sbus/char/bbc_i2c.c b/drivers/sbus/char/bbc_i2c.c
index af7f4af6c5f..f08e169ba1b 100644
--- a/drivers/sbus/char/bbc_i2c.c
+++ b/drivers/sbus/char/bbc_i2c.c
@@ -404,7 +404,7 @@ static int __devexit bbc_i2c_remove(struct of_device *op)
404 return 0; 404 return 0;
405} 405}
406 406
407static struct of_device_id bbc_i2c_match[] = { 407static const struct of_device_id bbc_i2c_match[] = {
408 { 408 {
409 .name = "i2c", 409 .name = "i2c",
410 .compatible = "SUNW,bbc-i2c", 410 .compatible = "SUNW,bbc-i2c",
diff --git a/drivers/sbus/char/display7seg.c b/drivers/sbus/char/display7seg.c
index 2f16d78e92d..2550af4ae43 100644
--- a/drivers/sbus/char/display7seg.c
+++ b/drivers/sbus/char/display7seg.c
@@ -256,7 +256,7 @@ static int __devexit d7s_remove(struct of_device *op)
256 return 0; 256 return 0;
257} 257}
258 258
259static struct of_device_id d7s_match[] = { 259static const struct of_device_id d7s_match[] = {
260 { 260 {
261 .name = "display7seg", 261 .name = "display7seg",
262 }, 262 },
diff --git a/drivers/sbus/char/envctrl.c b/drivers/sbus/char/envctrl.c
index ea8c35cbffd..58e583b61e6 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",
diff --git a/drivers/sbus/char/flash.c b/drivers/sbus/char/flash.c
index 715996f5c53..41083472ff4 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)
199 return 0; 199 return 0;
200} 200}
201 201
202static struct of_device_id flash_match[] = { 202static const struct of_device_id flash_match[] = {
203 { 203 {
204 .name = "flashprom", 204 .name = "flashprom",
205 }, 205 },
diff --git a/drivers/sbus/char/uctrl.c b/drivers/sbus/char/uctrl.c
index 6cff9777bbc..27993c37775 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)
417 return 0; 417 return 0;
418} 418}
419 419
420static struct of_device_id uctrl_match[] = { 420static const struct of_device_id uctrl_match[] = {
421 { 421 {
422 .name = "uctrl", 422 .name = "uctrl",
423 }, 423 },