summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/max197.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2015-06-23 13:39:56 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2015-06-23 13:39:56 -0700
commit234a56c80a6aa7a05fec05d8b7184354d8765b48 (patch)
tree12f8a05b005ced034316a8c865b51cdbe3f79802 /drivers/hwmon/max197.c
parenta57f14bac07f63118d947f53976d7f15c04b062a (diff)
parent761c1770f2bf36a323ab97e2e1780db4f9b8a6fe (diff)
Merge tag 'hwmon-for-linus-v4.2' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging
Pull hwmon updates from Guenter Roeck: - new driver for Microchip TC74 - support for ncpXXwf104 added to ntc_thermistor driver - minor cleanup * tag 'hwmon-for-linus-v4.2' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging: hwmon: add driver for Microchip TC74 hwmon: (ntc_thermistor) Improve precision of resistance calculation hwmon: (ntc_thermistor) fix iio raw to microvolts conversion hwmon: (atxp1) Drop auto-detection hwmon: (atxp1) Drop FSF mailing address hwmon: Allow compile test of GPIO consumers if !GPIOLIB hwmon: (sht15) Constify platform_device_id hwmon: (max197) Constify platform_device_id hwmon: (ntc_thermistor) Add support for ncpXXwf104
Diffstat (limited to 'drivers/hwmon/max197.c')
-rw-r--r--drivers/hwmon/max197.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/max197.c b/drivers/hwmon/max197.c
index cb0dcfda958c..07628569547a 100644
--- a/drivers/hwmon/max197.c
+++ b/drivers/hwmon/max197.c
@@ -324,7 +324,7 @@ static int max197_remove(struct platform_device *pdev)
return 0;
}
-static struct platform_device_id max197_device_ids[] = {
+static const struct platform_device_id max197_device_ids[] = {
{ "max197", max197 },
{ "max199", max199 },
{ }