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/watchdog | |
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/watchdog')
-rw-r--r-- | drivers/watchdog/cpwd.c | 2 | ||||
-rw-r--r-- | drivers/watchdog/riowd.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/watchdog/cpwd.c b/drivers/watchdog/cpwd.c index 1f1ee2520f17..084dfe9cecfb 100644 --- a/drivers/watchdog/cpwd.c +++ b/drivers/watchdog/cpwd.c | |||
@@ -666,7 +666,7 @@ static int __devexit cpwd_remove(struct of_device *op) | |||
666 | return 0; | 666 | return 0; |
667 | } | 667 | } |
668 | 668 | ||
669 | static struct of_device_id cpwd_match[] = { | 669 | static const struct of_device_id cpwd_match[] = { |
670 | { | 670 | { |
671 | .name = "watchdog", | 671 | .name = "watchdog", |
672 | }, | 672 | }, |
diff --git a/drivers/watchdog/riowd.c b/drivers/watchdog/riowd.c index 04fd1bac2db5..09cb1833ea27 100644 --- a/drivers/watchdog/riowd.c +++ b/drivers/watchdog/riowd.c | |||
@@ -230,7 +230,7 @@ static int __devexit riowd_remove(struct of_device *op) | |||
230 | return 0; | 230 | return 0; |
231 | } | 231 | } |
232 | 232 | ||
233 | static struct of_device_id riowd_match[] = { | 233 | static const struct of_device_id riowd_match[] = { |
234 | { | 234 | { |
235 | .name = "pmc", | 235 | .name = "pmc", |
236 | }, | 236 | }, |