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 /arch/sparc64/kernel/time.c | |
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 'arch/sparc64/kernel/time.c')
-rw-r--r-- | arch/sparc64/kernel/time.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/sparc64/kernel/time.c b/arch/sparc64/kernel/time.c index ea05038a8c16..209e7d28c3a5 100644 --- a/arch/sparc64/kernel/time.c +++ b/arch/sparc64/kernel/time.c | |||
@@ -438,7 +438,7 @@ static int __devinit rtc_probe(struct of_device *op, const struct of_device_id * | |||
438 | return platform_device_register(&rtc_cmos_device); | 438 | return platform_device_register(&rtc_cmos_device); |
439 | } | 439 | } |
440 | 440 | ||
441 | static struct of_device_id rtc_match[] = { | 441 | static struct of_device_id __initdata rtc_match[] = { |
442 | { | 442 | { |
443 | .name = "rtc", | 443 | .name = "rtc", |
444 | .compatible = "m5819", | 444 | .compatible = "m5819", |
@@ -482,7 +482,7 @@ static int __devinit bq4802_probe(struct of_device *op, const struct of_device_i | |||
482 | return platform_device_register(&rtc_bq4802_device); | 482 | return platform_device_register(&rtc_bq4802_device); |
483 | } | 483 | } |
484 | 484 | ||
485 | static struct of_device_id bq4802_match[] = { | 485 | static struct of_device_id __initdata bq4802_match[] = { |
486 | { | 486 | { |
487 | .name = "rtc", | 487 | .name = "rtc", |
488 | .compatible = "bq4802", | 488 | .compatible = "bq4802", |
@@ -566,7 +566,7 @@ static int __devinit mostek_probe(struct of_device *op, const struct of_device_i | |||
566 | return platform_device_register(&m48t59_rtc); | 566 | return platform_device_register(&m48t59_rtc); |
567 | } | 567 | } |
568 | 568 | ||
569 | static struct of_device_id mostek_match[] = { | 569 | static struct of_device_id __initdata mostek_match[] = { |
570 | { | 570 | { |
571 | .name = "eeprom", | 571 | .name = "eeprom", |
572 | }, | 572 | }, |