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