diff options
author | Fabian Frederick <fabf@skynet.be> | 2015-03-16 19:54:36 (GMT) |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2015-03-16 20:00:32 (GMT) |
commit | d720acace4d7989f0d5617868e8277221e882961 (patch) | |
tree | 02dda75ca610da3b71ee7587ee73619cf5de9a1b /drivers/hwmon/vexpress.c | |
parent | 25cdd99deb927c2753759ead21710303c499a4e0 (diff) | |
download | linux-d720acace4d7989f0d5617868e8277221e882961.tar.xz |
hwmon: (pwm-fan, vexpress) Constify of_device_id array
of_device_id is always used as const.
(See driver.of_match_table and open firmware functions)
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/vexpress.c')
-rw-r--r-- | drivers/hwmon/vexpress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/vexpress.c b/drivers/hwmon/vexpress.c index cf1848b..8ba419d 100644 --- a/drivers/hwmon/vexpress.c +++ b/drivers/hwmon/vexpress.c @@ -193,7 +193,7 @@ static struct vexpress_hwmon_type vexpress_hwmon_energy = { }, }; -static struct of_device_id vexpress_hwmon_of_match[] = { +static const struct of_device_id vexpress_hwmon_of_match[] = { #if !defined(CONFIG_REGULATOR_VEXPRESS) { .compatible = "arm,vexpress-volt", |