summaryrefslogtreecommitdiff
path: root/drivers/hwmon/Kconfig
diff options
context:
space:
mode:
authorClark Wang <xiaoning.wang@nxp.com>2019-08-14 19:54:58 +0800
committerDong Aisheng <aisheng.dong@nxp.com>2019-11-25 15:44:30 +0800
commit33c0437a78583d14002878c97679d903a1c05690 (patch)
tree99a5a8b8bfcca59a6a8b5f64a840a2d2dccb8170 /drivers/hwmon/Kconfig
parentd047f4467e5c50ad99ca5cfdb773e114a4222539 (diff)
hwmon: mag3110: add mag3110 makefile and kconfig string
Add makefile and kconfig string for mag3110. Signed-off-by: Clark Wang <xiaoning.wang@nxp.com>
Diffstat (limited to 'drivers/hwmon/Kconfig')
-rw-r--r--drivers/hwmon/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig
index 13a6b4afb4b3..d2d1b65382a3 100644
--- a/drivers/hwmon/Kconfig
+++ b/drivers/hwmon/Kconfig
@@ -1950,4 +1950,13 @@ config SENSORS_ATK0110
endif # ACPI
+config SENSORS_MAG3110
+ tristate "Freescale MAG3110 e-compass sensor"
+ depends on I2C && SYSFS
+ help
+ If you say yes here you get support for the Freescale MAG3110
+ e-compass sensor.
+ This driver can also be built as a module. If so, the module
+ will be called mag3110.
+
endif # HWMON