diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-05-07 04:25:14 -0400 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2014-05-21 19:02:22 -0400 |
commit | adaa50b0dd8af52efae5da8c9d7860db8088ff08 (patch) | |
tree | 4d52ddeb9d965277c8389c7474f9cd93cfa519d7 /drivers/hwmon | |
parent | 86b89d73f9f3648c9f3b375d7841bef18a27fd2a (diff) |
hwmon: (g762) Make of_device_id array const
Make of_device_id array const, because all OF functions
handle it as const.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r-- | drivers/hwmon/g762.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/g762.c b/drivers/hwmon/g762.c index b4b8b5bef718..98a8618d8fbf 100644 --- a/drivers/hwmon/g762.c +++ b/drivers/hwmon/g762.c | |||
@@ -586,7 +586,7 @@ static int do_set_fan_startv(struct device *dev, unsigned long val) | |||
586 | */ | 586 | */ |
587 | 587 | ||
588 | #ifdef CONFIG_OF | 588 | #ifdef CONFIG_OF |
589 | static struct of_device_id g762_dt_match[] = { | 589 | static const struct of_device_id g762_dt_match[] = { |
590 | { .compatible = "gmt,g762" }, | 590 | { .compatible = "gmt,g762" }, |
591 | { .compatible = "gmt,g763" }, | 591 | { .compatible = "gmt,g763" }, |
592 | { }, | 592 | { }, |