sparc: Annotate of_device_id arrays with const or __initdata.
As suggested by Stephen Rothwell. Signed-off-by: David S. Miller <davem@davemloft.net>
此提交包含在:
@@ -1120,7 +1120,7 @@ static int __devexit envctrl_remove(struct of_device *op)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static struct of_device_id envctrl_match[] = {
|
||||
static const struct of_device_id envctrl_match[] = {
|
||||
{
|
||||
.name = "i2c",
|
||||
.compatible = "i2cpcf,8584",
|
||||
|
新增問題並參考
封鎖使用者