diff options
author | Irina Tirdea | 2015-01-11 21:10:15 +0200 |
---|---|---|
committer | Jonathan Cameron | 2015-01-27 18:49:56 +0000 |
commit | d5b97f5c7dfcad98927fb4f3b2e99d4c3beeec9a (patch) | |
tree | be9edae8271a45921155e7dee3ea72ba8258eceb /drivers/iio/accel/Makefile | |
parent | 6da93a6710a3b1eb3d15b88bf96efaac322c893f (diff) |
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/Makefile')
-rw-r--r-- | drivers/iio/accel/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/iio/accel/Makefile b/drivers/iio/accel/Makefile index de5b9cb9670f..810531610414 100644 --- a/drivers/iio/accel/Makefile +++ b/drivers/iio/accel/Makefile @@ -9,7 +9,9 @@ obj-$(CONFIG_HID_SENSOR_ACCEL_3D) += hid-sensor-accel-3d.o obj-$(CONFIG_KXCJK1013) += kxcjk-1013.o obj-$(CONFIG_KXSD9) += kxsd9.o obj-$(CONFIG_MMA8452) += mma8452.o -obj-$(CONFIG_MMA9551) += mma9551.o + +obj-$(CONFIG_MMA9551_CORE) += mma9551_core.o +obj-$(CONFIG_MMA9551) += mma9551.o obj-$(CONFIG_IIO_ST_ACCEL_3AXIS) += st_accel.o st_accel-y := st_accel_core.o |