summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-05-07 04:29:02 -0400
committerGuenter Roeck <linux@roeck-us.net>2014-05-21 19:02:23 -0400
commitcfe03d641ec294bfcbba23d32accfdf0db51aa8c (patch)
tree8cc70a68cdf0e8e4bd0f1c1b571d9cd1bea48668 /drivers/hwmon
parent6de709c5ee0d7e15afca5991af87e7462b65c527 (diff)
hwmon: (iio_hwmon) 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/iio_hwmon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/iio_hwmon.c b/drivers/hwmon/iio_hwmon.c
index 9fbb1b1fdff3..14c82daab019 100644
--- a/drivers/hwmon/iio_hwmon.c
+++ b/drivers/hwmon/iio_hwmon.c
@@ -163,7 +163,7 @@ static int iio_hwmon_remove(struct platform_device *pdev)
163 return 0; 163 return 0;
164} 164}
165 165
166static struct of_device_id iio_hwmon_of_match[] = { 166static const struct of_device_id iio_hwmon_of_match[] = {
167 { .compatible = "iio-hwmon", }, 167 { .compatible = "iio-hwmon", },
168 { } 168 { }
169}; 169};