sparc: Annotate of_device_id arrays with const or __initdata.

As suggested by Stephen Rothwell.

Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David S. Miller
2008-08-31 01:23:17 -07:00
parent 933b2a1d8d
commit fd098316ef
50 changed files with 53 additions and 53 deletions

View File

@ -616,7 +616,7 @@ static int __devexit hv_remove(struct of_device *dev)
return 0;
}
static struct of_device_id hv_match[] = {
static const struct of_device_id hv_match[] = {
{
.name = "console",
.compatible = "qcn",

View File

@ -1078,7 +1078,7 @@ static int __devexit sab_remove(struct of_device *op)
return 0;
}
static struct of_device_id sab_match[] = {
static const struct of_device_id sab_match[] = {
{
.name = "se",
},

View File

@ -1506,7 +1506,7 @@ static int __devexit su_remove(struct of_device *op)
return 0;
}
static struct of_device_id su_match[] = {
static const struct of_device_id su_match[] = {
{
.name = "su",
},

View File

@ -1480,7 +1480,7 @@ static int __devexit zs_remove(struct of_device *op)
return 0;
}
static struct of_device_id zs_match[] = {
static const struct of_device_id zs_match[] = {
{
.name = "zs",
},