summaryrefslogtreecommitdiff
path: root/drivers/iio/accel/Kconfig
diff options
context:
space:
mode:
authorIrina Tirdea <irina.tirdea@intel.com>2015-01-11 19:10:15 (GMT)
committerJonathan Cameron <jic23@kernel.org>2015-01-27 18:49:56 (GMT)
commitd5b97f5c7dfcad98927fb4f3b2e99d4c3beeec9a (patch)
treebe9edae8271a45921155e7dee3ea72ba8258eceb /drivers/iio/accel/Kconfig
parent6da93a6710a3b1eb3d15b88bf96efaac322c893f (diff)
downloadlinux-d5b97f5c7dfcad98927fb4f3b2e99d4c3beeec9a.tar.xz
iio: accel: mma9551: split driver to expose mma955x api
Freescale has the MMA955xL family of devices that use the same communication protocol (based on i2c messages): http://www.freescale.com/files/sensors/doc/data_sheet/MMA955xL.pdf. To support more devices from this family, we need to split the mma9551 driver so we can export the common functions that will be used by other mma955x drivers. Signed-off-by: Irina Tirdea <irina.tirdea@intel.com> Reviewed-by: Vlad Dogaru <vlad.dogaru@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/accel/Kconfig')
-rw-r--r--drivers/iio/accel/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/iio/accel/Kconfig b/drivers/iio/accel/Kconfig
index 9f67c10..c53047d 100644
--- a/drivers/iio/accel/Kconfig
+++ b/drivers/iio/accel/Kconfig
@@ -111,9 +111,14 @@ config KXCJK1013
To compile this driver as a module, choose M here: the module will
be called kxcjk-1013.
+config MMA9551_CORE
+ tristate
+
config MMA9551
tristate "Freescale MMA9551L Intelligent Motion-Sensing Platform Driver"
depends on I2C
+ select MMA9551_CORE
+
help
Say yes here to build support for the Freescale MMA9551L
Intelligent Motion-Sensing Platform Driver.