summaryrefslogtreecommitdiffstats
path: root/drivers/iio/magnetometer/Kconfig
diff options
context:
space:
mode:
authorJonathan Cameron2013-03-24 17:58:00 +0100
committerJonathan Cameron2013-04-02 19:36:47 +0200
commit2fc72cd8354e3e9c4893fc082614266ddb599902 (patch)
tree0b8eeac08972a61011e6083343c0218ef0241ffb /drivers/iio/magnetometer/Kconfig
parentstaging:iio:magnetometer:ak8975 use standard i2c_smbus read functions. (diff)
downloadkernel-qcow2-linux-2fc72cd8354e3e9c4893fc082614266ddb599902.tar.gz
kernel-qcow2-linux-2fc72cd8354e3e9c4893fc082614266ddb599902.tar.xz
kernel-qcow2-linux-2fc72cd8354e3e9c4893fc082614266ddb599902.zip
iio:magnetometer:ak8975 move driver out of staging
Issues raised in last series to propose this have now been resolved so there should be no reason this driver cannot graduate from staging. Signed-off-by: Jonathan Cameron <jic23@kernel.org> Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Diffstat (limited to 'drivers/iio/magnetometer/Kconfig')
-rw-r--r--drivers/iio/magnetometer/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/iio/magnetometer/Kconfig b/drivers/iio/magnetometer/Kconfig
index cd29be54f643..bd1cfb666695 100644
--- a/drivers/iio/magnetometer/Kconfig
+++ b/drivers/iio/magnetometer/Kconfig
@@ -3,6 +3,17 @@
#
menu "Magnetometer sensors"
+config AK8975
+ tristate "Asahi Kasei AK8975 3-Axis Magnetometer"
+ depends on I2C
+ depends on GPIOLIB
+ help
+ Say yes here to build support for Asahi Kasei AK8975 3-Axis
+ Magnetometer.
+
+ To compile this driver as a module, choose M here: the module
+ will be called ak8975.
+
config HID_SENSOR_MAGNETOMETER_3D
depends on HID_SENSOR_HUB
select IIO_BUFFER