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

@ -404,7 +404,7 @@ static int __devexit bbc_i2c_remove(struct of_device *op)
return 0;
}
static struct of_device_id bbc_i2c_match[] = {
static const struct of_device_id bbc_i2c_match[] = {
{
.name = "i2c",
.compatible = "SUNW,bbc-i2c",

View File

@ -256,7 +256,7 @@ static int __devexit d7s_remove(struct of_device *op)
return 0;
}
static struct of_device_id d7s_match[] = {
static const struct of_device_id d7s_match[] = {
{
.name = "display7seg",
},

View File

@ -1120,7 +1120,7 @@ static int __devexit envctrl_remove(struct of_device *op)
return 0;
}
static struct of_device_id envctrl_match[] = {
static const struct of_device_id envctrl_match[] = {
{
.name = "i2c",
.compatible = "i2cpcf,8584",

View File

@ -199,7 +199,7 @@ static int __devexit flash_remove(struct of_device *op)
return 0;
}
static struct of_device_id flash_match[] = {
static const struct of_device_id flash_match[] = {
{
.name = "flashprom",
},

View File

@ -417,7 +417,7 @@ static int __devexit uctrl_remove(struct of_device *op)
return 0;
}
static struct of_device_id uctrl_match[] = {
static const struct of_device_id uctrl_match[] = {
{
.name = "uctrl",
},