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:
@@ -1070,7 +1070,7 @@ out_err:
|
||||
return err;
|
||||
}
|
||||
|
||||
static struct of_device_id amd7930_match[] = {
|
||||
static const struct of_device_id amd7930_match[] = {
|
||||
{
|
||||
.name = "audio",
|
||||
},
|
||||
|
@@ -2094,7 +2094,7 @@ static int __devexit cs4231_remove(struct of_device *op)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static struct of_device_id cs4231_match[] = {
|
||||
static const struct of_device_id cs4231_match[] = {
|
||||
{
|
||||
.name = "SUNW,CS4231",
|
||||
},
|
||||
|
@@ -2665,7 +2665,7 @@ static int __devexit dbri_remove(struct of_device *op)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static struct of_device_id dbri_match[] = {
|
||||
static const struct of_device_id dbri_match[] = {
|
||||
{
|
||||
.name = "SUNW,DBRIe",
|
||||
},
|
||||
|
Reference in New Issue
Block a user