diff options
author | David S. Miller <davem@davemloft.net> | 2008-08-31 10:23:17 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-08-31 10:23:17 +0200 |
commit | fd098316ef533e8441576f020ead4beab93154ce (patch) | |
tree | 6188bbbf2357585dbeeac9d055ef2e771b78bac8 /drivers/hwmon | |
parent | sparc: Stop setting NO_DMA. (diff) | |
download | linux-fd098316ef533e8441576f020ead4beab93154ce.tar.xz linux-fd098316ef533e8441576f020ead4beab93154ce.zip |
sparc: Annotate of_device_id arrays with const or __initdata.
As suggested by Stephen Rothwell.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r-- | drivers/hwmon/ultra45_env.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/ultra45_env.c b/drivers/hwmon/ultra45_env.c index 9aec95cbf7e9..68e90abeba96 100644 --- a/drivers/hwmon/ultra45_env.c +++ b/drivers/hwmon/ultra45_env.c @@ -290,7 +290,7 @@ static int __devexit env_remove(struct of_device *op) return 0; } -static struct of_device_id env_match[] = { +static const struct of_device_id env_match[] = { { .name = "env-monitor", .compatible = "SUNW,ebus-pic16f747-env", |