aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/sparc/include/asm/parport.h2
-rw-r--r--arch/sparc/kernel/apc.c2
-rw-r--r--arch/sparc/kernel/pmc.c2
-rw-r--r--arch/sparc/kernel/time.c2
-rw-r--r--arch/sparc64/kernel/auxio.c2
-rw-r--r--arch/sparc64/kernel/chmc.c2
-rw-r--r--arch/sparc64/kernel/pci_fire.c2
-rw-r--r--arch/sparc64/kernel/pci_psycho.c2
-rw-r--r--arch/sparc64/kernel/pci_sabre.c2
-rw-r--r--arch/sparc64/kernel/pci_schizo.c2
-rw-r--r--arch/sparc64/kernel/pci_sun4v.c2
-rw-r--r--arch/sparc64/kernel/power.c2
-rw-r--r--arch/sparc64/kernel/time.c6
13 files changed, 15 insertions, 15 deletions
diff --git a/arch/sparc/include/asm/parport.h b/arch/sparc/include/asm/parport.h
index 70dce0273f9..dff3f0253aa 100644
--- a/arch/sparc/include/asm/parport.h
+++ b/arch/sparc/include/asm/parport.h
@@ -215,7 +215,7 @@ static int __devexit ecpp_remove(struct of_device *op)
215 return 0; 215 return 0;
216} 216}
217 217
218static struct of_device_id ecpp_match[] = { 218static const struct of_device_id ecpp_match[] = {
219 { 219 {
220 .name = "ecpp", 220 .name = "ecpp",
221 }, 221 },
diff --git a/arch/sparc/kernel/apc.c b/arch/sparc/kernel/apc.c
index 0a20cd85fd3..4dd1ba752ce 100644
--- a/arch/sparc/kernel/apc.c
+++ b/arch/sparc/kernel/apc.c
@@ -182,7 +182,7 @@ static int __devinit apc_probe(struct of_device *op,
182 return 0; 182 return 0;
183} 183}
184 184
185static struct of_device_id apc_match[] = { 185static struct of_device_id __initdata apc_match[] = {
186 { 186 {
187 .name = APC_OBPNAME, 187 .name = APC_OBPNAME,
188 }, 188 },
diff --git a/arch/sparc/kernel/pmc.c b/arch/sparc/kernel/pmc.c
index 9976e82e323..814eb3ce039 100644
--- a/arch/sparc/kernel/pmc.c
+++ b/arch/sparc/kernel/pmc.c
@@ -72,7 +72,7 @@ static int __devinit pmc_probe(struct of_device *op,
72 return 0; 72 return 0;
73} 73}
74 74
75static struct of_device_id pmc_match[] = { 75static struct of_device_id __initdata pmc_match[] = {
76 { 76 {
77 .name = PMC_OBPNAME, 77 .name = PMC_OBPNAME,
78 }, 78 },
diff --git a/arch/sparc/kernel/time.c b/arch/sparc/kernel/time.c
index a713bb43db8..339c4762fbc 100644
--- a/arch/sparc/kernel/time.c
+++ b/arch/sparc/kernel/time.c
@@ -338,7 +338,7 @@ static int __devinit clock_probe(struct of_device *op, const struct of_device_id
338 return 0; 338 return 0;
339} 339}
340 340
341static struct of_device_id clock_match[] = { 341static struct of_device_id __initdata clock_match[] = {
342 { 342 {
343 .name = "eeprom", 343 .name = "eeprom",
344 }, 344 },
diff --git a/arch/sparc64/kernel/auxio.c b/arch/sparc64/kernel/auxio.c
index dd5c7bf8761..858beda8652 100644
--- a/arch/sparc64/kernel/auxio.c
+++ b/arch/sparc64/kernel/auxio.c
@@ -109,7 +109,7 @@ void auxio_set_lte(int on)
109 } 109 }
110} 110}
111 111
112static struct of_device_id auxio_match[] = { 112static struct of_device_id __initdata auxio_match[] = {
113 { 113 {
114 .name = "auxio", 114 .name = "auxio",
115 }, 115 },
diff --git a/arch/sparc64/kernel/chmc.c b/arch/sparc64/kernel/chmc.c
index 3e14952e940..2ed401087ca 100644
--- a/arch/sparc64/kernel/chmc.c
+++ b/arch/sparc64/kernel/chmc.c
@@ -801,7 +801,7 @@ static int __devexit us3mc_remove(struct of_device *op)
801 return 0; 801 return 0;
802} 802}
803 803
804static struct of_device_id us3mc_match[] = { 804static const struct of_device_id us3mc_match[] = {
805 { 805 {
806 .name = "memory-controller", 806 .name = "memory-controller",
807 }, 807 },
diff --git a/arch/sparc64/kernel/pci_fire.c b/arch/sparc64/kernel/pci_fire.c
index adc3fe44b08..477928aad53 100644
--- a/arch/sparc64/kernel/pci_fire.c
+++ b/arch/sparc64/kernel/pci_fire.c
@@ -547,7 +547,7 @@ out_free:
547 return err; 547 return err;
548} 548}
549 549
550static struct of_device_id fire_match[] = { 550static struct of_device_id __initdata fire_match[] = {
551 { 551 {
552 .name = "pci", 552 .name = "pci",
553 .compatible = "pciex108e,80f0", 553 .compatible = "pciex108e,80f0",
diff --git a/arch/sparc64/kernel/pci_psycho.c b/arch/sparc64/kernel/pci_psycho.c
index 4e8f87aad20..708212a6e7e 100644
--- a/arch/sparc64/kernel/pci_psycho.c
+++ b/arch/sparc64/kernel/pci_psycho.c
@@ -1099,7 +1099,7 @@ out_free:
1099 return err; 1099 return err;
1100} 1100}
1101 1101
1102static struct of_device_id psycho_match[] = { 1102static struct of_device_id __initdata psycho_match[] = {
1103 { 1103 {
1104 .name = "pci", 1104 .name = "pci",
1105 .compatible = "pci108e,8000", 1105 .compatible = "pci108e,8000",
diff --git a/arch/sparc64/kernel/pci_sabre.c b/arch/sparc64/kernel/pci_sabre.c
index 7cce4d8f4aa..cc476e9a275 100644
--- a/arch/sparc64/kernel/pci_sabre.c
+++ b/arch/sparc64/kernel/pci_sabre.c
@@ -885,7 +885,7 @@ out_free:
885 return err; 885 return err;
886} 886}
887 887
888static struct of_device_id sabre_match[] = { 888static struct of_device_id __initdata sabre_match[] = {
889 { 889 {
890 .name = "pci", 890 .name = "pci",
891 .compatible = "pci108e,a001", 891 .compatible = "pci108e,a001",
diff --git a/arch/sparc64/kernel/pci_schizo.c b/arch/sparc64/kernel/pci_schizo.c
index b95dd548583..18fdd887b4a 100644
--- a/arch/sparc64/kernel/pci_schizo.c
+++ b/arch/sparc64/kernel/pci_schizo.c
@@ -1504,7 +1504,7 @@ static int __devinit schizo_probe(struct of_device *op,
1504 * and pci108e,8001. So list the chips in reverse chronological 1504 * and pci108e,8001. So list the chips in reverse chronological
1505 * order. 1505 * order.
1506 */ 1506 */
1507static struct of_device_id schizo_match[] = { 1507static struct of_device_id __initdata schizo_match[] = {
1508 { 1508 {
1509 .name = "pci", 1509 .name = "pci",
1510 .compatible = "pci108e,a801", 1510 .compatible = "pci108e,a801",
diff --git a/arch/sparc64/kernel/pci_sun4v.c b/arch/sparc64/kernel/pci_sun4v.c
index c1e72beade2..fea51a054be 100644
--- a/arch/sparc64/kernel/pci_sun4v.c
+++ b/arch/sparc64/kernel/pci_sun4v.c
@@ -1026,7 +1026,7 @@ out_free:
1026 return -ENOMEM; 1026 return -ENOMEM;
1027} 1027}
1028 1028
1029static struct of_device_id pci_sun4v_match[] = { 1029static struct of_device_id __initdata pci_sun4v_match[] = {
1030 { 1030 {
1031 .name = "pci", 1031 .name = "pci",
1032 .compatible = "SUNW,sun4v-pci", 1032 .compatible = "SUNW,sun4v-pci",
diff --git a/arch/sparc64/kernel/power.c b/arch/sparc64/kernel/power.c
index 7536255ab57..7559ad395a3 100644
--- a/arch/sparc64/kernel/power.c
+++ b/arch/sparc64/kernel/power.c
@@ -89,7 +89,7 @@ static int __devinit power_probe(struct of_device *op, const struct of_device_id
89 return 0; 89 return 0;
90} 90}
91 91
92static struct of_device_id power_match[] = { 92static struct of_device_id __initdata power_match[] = {
93 { 93 {
94 .name = "power", 94 .name = "power",
95 }, 95 },
diff --git a/arch/sparc64/kernel/time.c b/arch/sparc64/kernel/time.c
index ea05038a8c1..209e7d28c3a 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
441static struct of_device_id rtc_match[] = { 441static 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
485static struct of_device_id bq4802_match[] = { 485static 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
569static struct of_device_id mostek_match[] = { 569static struct of_device_id __initdata mostek_match[] = {
570 { 570 {
571 .name = "eeprom", 571 .name = "eeprom",
572 }, 572 },