aboutsummaryrefslogtreecommitdiffstats
path: root/sound
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 /sound
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 'sound')
-rw-r--r--sound/sparc/amd7930.c2
-rw-r--r--sound/sparc/cs4231.c2
-rw-r--r--sound/sparc/dbri.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/sound/sparc/amd7930.c b/sound/sparc/amd7930.c
index 0f82c3f6cfdb..5af5503edadb 100644
--- a/sound/sparc/amd7930.c
+++ b/sound/sparc/amd7930.c
@@ -1070,7 +1070,7 @@ out_err:
1070 return err; 1070 return err;
1071} 1071}
1072 1072
1073static struct of_device_id amd7930_match[] = { 1073static const struct of_device_id amd7930_match[] = {
1074 { 1074 {
1075 .name = "audio", 1075 .name = "audio",
1076 }, 1076 },
diff --git a/sound/sparc/cs4231.c b/sound/sparc/cs4231.c
index cdbfae96bd88..727438d276eb 100644
--- a/sound/sparc/cs4231.c
+++ b/sound/sparc/cs4231.c
@@ -2094,7 +2094,7 @@ static int __devexit cs4231_remove(struct of_device *op)
2094 return 0; 2094 return 0;
2095} 2095}
2096 2096
2097static struct of_device_id cs4231_match[] = { 2097static const struct of_device_id cs4231_match[] = {
2098 { 2098 {
2099 .name = "SUNW,CS4231", 2099 .name = "SUNW,CS4231",
2100 }, 2100 },
diff --git a/sound/sparc/dbri.c b/sound/sparc/dbri.c
index 446f985b76fb..2edb0ad3de7e 100644
--- a/sound/sparc/dbri.c
+++ b/sound/sparc/dbri.c
@@ -2665,7 +2665,7 @@ static int __devexit dbri_remove(struct of_device *op)
2665 return 0; 2665 return 0;
2666} 2666}
2667 2667
2668static struct of_device_id dbri_match[] = { 2668static const struct of_device_id dbri_match[] = {
2669 { 2669 {
2670 .name = "SUNW,DBRIe", 2670 .name = "SUNW,DBRIe",
2671 }, 2671 },