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

@ -182,7 +182,7 @@ static int __devinit apc_probe(struct of_device *op,
return 0;
}
static struct of_device_id apc_match[] = {
static struct of_device_id __initdata apc_match[] = {
{
.name = APC_OBPNAME,
},

View File

@ -72,7 +72,7 @@ static int __devinit pmc_probe(struct of_device *op,
return 0;
}
static struct of_device_id pmc_match[] = {
static struct of_device_id __initdata pmc_match[] = {
{
.name = PMC_OBPNAME,
},

View File

@ -338,7 +338,7 @@ static int __devinit clock_probe(struct of_device *op, const struct of_device_id
return 0;
}
static struct of_device_id clock_match[] = {
static struct of_device_id __initdata clock_match[] = {
{
.name = "eeprom",
},