Merge tag 'staging-4.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh...
[cascardo/linux.git] / drivers / iio / magnetometer / Kconfig
index 1f842ab..421ad90 100644 (file)
@@ -5,8 +5,22 @@
 
 menu "Magnetometer sensors"
 
+config AK8974
+       tristate "Asahi Kasei AK8974 3-Axis Magnetometer"
+       depends on I2C
+       depends on OF
+       select REGMAP_I2C
+       select IIO_BUFFER
+       select IIO_TRIGGERED_BUFFER
+       help
+         Say yes here to build support for Asahi Kasei AK8974 or
+         AMI305 I2C-based 3-axis magnetometer chips.
+
+         To compile this driver as a module, choose M here: the module
+         will be called ak8974.
+
 config AK8975
-       tristate "Asahi Kasei AK 3-Axis Magnetometer"
+       tristate "Asahi Kasei AK8975 3-Axis Magnetometer"
        depends on I2C
        depends on GPIOLIB || COMPILE_TEST
        select IIO_BUFFER