aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
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/net
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/net')
-rw-r--r--drivers/net/myri_sbus.c2
-rw-r--r--drivers/net/niu.c2
-rw-r--r--drivers/net/sunbmac.c2
-rw-r--r--drivers/net/sunhme.c2
-rw-r--r--drivers/net/sunlance.c2
-rw-r--r--drivers/net/sunqe.c2
6 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/myri_sbus.c b/drivers/net/myri_sbus.c
index 03867b10f37e..979d778b133b 100644
--- a/drivers/net/myri_sbus.c
+++ b/drivers/net/myri_sbus.c
@@ -1125,7 +1125,7 @@ static int __devexit myri_sbus_remove(struct of_device *op)
1125 return 0; 1125 return 0;
1126} 1126}
1127 1127
1128static struct of_device_id myri_sbus_match[] = { 1128static const struct of_device_id myri_sbus_match[] = {
1129 { 1129 {
1130 .name = "MYRICOM,mlanai", 1130 .name = "MYRICOM,mlanai",
1131 }, 1131 },
diff --git a/drivers/net/niu.c b/drivers/net/niu.c
index e4765b713aba..016d9e08692d 100644
--- a/drivers/net/niu.c
+++ b/drivers/net/niu.c
@@ -9074,7 +9074,7 @@ static int __devexit niu_of_remove(struct of_device *op)
9074 return 0; 9074 return 0;
9075} 9075}
9076 9076
9077static struct of_device_id niu_match[] = { 9077static const struct of_device_id niu_match[] = {
9078 { 9078 {
9079 .name = "network", 9079 .name = "network",
9080 .compatible = "SUNW,niusl", 9080 .compatible = "SUNW,niusl",
diff --git a/drivers/net/sunbmac.c b/drivers/net/sunbmac.c
index 7009a5e36c97..3f342b35a77f 100644
--- a/drivers/net/sunbmac.c
+++ b/drivers/net/sunbmac.c
@@ -1281,7 +1281,7 @@ static int __devexit bigmac_sbus_remove(struct of_device *op)
1281 return 0; 1281 return 0;
1282} 1282}
1283 1283
1284static struct of_device_id bigmac_sbus_match[] = { 1284static const struct of_device_id bigmac_sbus_match[] = {
1285 { 1285 {
1286 .name = "be", 1286 .name = "be",
1287 }, 1287 },
diff --git a/drivers/net/sunhme.c b/drivers/net/sunhme.c
index dc46e97ac122..f1ebeb5f65b2 100644
--- a/drivers/net/sunhme.c
+++ b/drivers/net/sunhme.c
@@ -3252,7 +3252,7 @@ static int __devexit hme_sbus_remove(struct of_device *op)
3252 return 0; 3252 return 0;
3253} 3253}
3254 3254
3255static struct of_device_id hme_sbus_match[] = { 3255static const struct of_device_id hme_sbus_match[] = {
3256 { 3256 {
3257 .name = "SUNW,hme", 3257 .name = "SUNW,hme",
3258 }, 3258 },
diff --git a/drivers/net/sunlance.c b/drivers/net/sunlance.c
index 292feb2154b4..30cdb81853b4 100644
--- a/drivers/net/sunlance.c
+++ b/drivers/net/sunlance.c
@@ -1571,7 +1571,7 @@ static int __devexit sunlance_sbus_remove(struct of_device *op)
1571 return 0; 1571 return 0;
1572} 1572}
1573 1573
1574static struct of_device_id sunlance_sbus_match[] = { 1574static const struct of_device_id sunlance_sbus_match[] = {
1575 { 1575 {
1576 .name = "le", 1576 .name = "le",
1577 }, 1577 },
diff --git a/drivers/net/sunqe.c b/drivers/net/sunqe.c
index 81604cac8e3e..f63644744ff9 100644
--- a/drivers/net/sunqe.c
+++ b/drivers/net/sunqe.c
@@ -965,7 +965,7 @@ static int __devexit qec_sbus_remove(struct of_device *op)
965 return 0; 965 return 0;
966} 966}
967 967
968static struct of_device_id qec_sbus_match[] = { 968static const struct of_device_id qec_sbus_match[] = {
969 { 969 {
970 .name = "qe", 970 .name = "qe",
971 }, 971 },