diff options
author | David S. Miller <davem@davemloft.net> | 2008-08-31 04:23:17 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-08-31 04:23:17 -0400 |
commit | fd098316ef533e8441576f020ead4beab93154ce (patch) | |
tree | 6188bbbf2357585dbeeac9d055ef2e771b78bac8 /drivers/sbus | |
parent | 933b2a1d8d458d6fe12b5efd63a0432852c44d6d (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')
-rw-r--r-- | drivers/sbus/char/bbc_i2c.c | 2 | ||||
-rw-r--r-- | drivers/sbus/char/display7seg.c | 2 | ||||
-rw-r--r-- | drivers/sbus/char/envctrl.c | 2 | ||||
-rw-r--r-- | drivers/sbus/char/flash.c | 2 | ||||
-rw-r--r-- | drivers/sbus/char/uctrl.c | 2 |
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 | ||
407 | static struct of_device_id bbc_i2c_match[] = { | 407 | static 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 | ||
259 | static struct of_device_id d7s_match[] = { | 259 | static 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 | ||
1123 | static struct of_device_id envctrl_match[] = { | 1123 | static 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 | ||
202 | static struct of_device_id flash_match[] = { | 202 | static 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 | ||
420 | static struct of_device_id uctrl_match[] = { | 420 | static const struct of_device_id uctrl_match[] = { |
421 | { | 421 | { |
422 | .name = "uctrl", | 422 | .name = "uctrl", |
423 | }, | 423 | }, |