mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 13:44:26 -04:00
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:
parent
933b2a1d8d
commit
fd098316ef
50 changed files with 53 additions and 53 deletions
|
|
@ -249,7 +249,7 @@ static int bbc_remove(struct of_device *op)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static struct of_device_id bbc_beep_match[] = {
|
||||
static const struct of_device_id bbc_beep_match[] = {
|
||||
{
|
||||
.name = "beep",
|
||||
.compatible = "SUNW,bbc-beep",
|
||||
|
|
@ -328,7 +328,7 @@ static int grover_remove(struct of_device *op)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static struct of_device_id grover_beep_match[] = {
|
||||
static const struct of_device_id grover_beep_match[] = {
|
||||
{
|
||||
.name = "beep",
|
||||
.compatible = "SUNW,smbus-beep",
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ static int __devexit sparc_i8042_remove(struct of_device *op)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static struct of_device_id sparc_i8042_match[] = {
|
||||
static const struct of_device_id sparc_i8042_match[] = {
|
||||
{
|
||||
.name = "8042",
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue