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:
@ -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,
|
||||
},
|
||||
|
@ -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,
|
||||
},
|
||||
|
@ -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",
|
||||
},
|
||||
|
Reference in New Issue
Block a user