summaryrefslogtreecommitdiffstats
path: root/drivers/iio/temperature/Makefile
diff options
context:
space:
mode:
authorSong Hongyan <hongyan.song@intel.com>2017-03-03 21:44:32 +0800
committerJonathan Cameron <jic23@kernel.org>2017-03-04 18:45:26 +0000
commit59d0f2da35693bfbcf6ffb014213cb8e225c8928 (patch)
treede359752da0bee9076b7e25ca1308f6a2aa67a38 /drivers/iio/temperature/Makefile
parent0f0c106aa95243c5e59f06fb447ed7ea89818be1 (diff)
downloadblackbird-op-linux-59d0f2da35693bfbcf6ffb014213cb8e225c8928.tar.gz
blackbird-op-linux-59d0f2da35693bfbcf6ffb014213cb8e225c8928.zip
iio: hid: Add temperature sensor support
Environmental temperature sensor is a hid defined sensor, it measures temperature. More information can be found in: http://www.usb.org/developers/hidpage/HUTRR39b.pdf According to IIO ABI definition, IIO_TEMP data output unit is milli degrees Celsius. Add the unit convert from degree to milli degree. Signed-off-by: Song Hongyan <hongyan.song@intel.com> Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/temperature/Makefile')
-rw-r--r--drivers/iio/temperature/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/temperature/Makefile b/drivers/iio/temperature/Makefile
index 4c4377480726..ad1d668de546 100644
--- a/drivers/iio/temperature/Makefile
+++ b/drivers/iio/temperature/Makefile
@@ -2,6 +2,7 @@
# Makefile for industrial I/O temperature drivers
#
+obj-$(CONFIG_HID_SENSOR_TEMP) += hid-sensor-temperature.o
obj-$(CONFIG_MAXIM_THERMOCOUPLE) += maxim_thermocouple.o
obj-$(CONFIG_MLX90614) += mlx90614.o
obj-$(CONFIG_TMP006) += tmp006.o
OpenPOWER on IntegriCloud