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