diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2016-01-15 17:00:03 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-01-30 17:27:12 +0100 |
commit | c984b9cbbd17d3eb602de3802e25d975182474fa (patch) | |
tree | 742d2eda34d7889d63f8d263947f17a87e22af03 /drivers/iio/pressure/Makefile | |
parent | iio: pressure: mpl115: don't set unused i2c clientdata (diff) | |
download | linux-c984b9cbbd17d3eb602de3802e25d975182474fa.tar.xz linux-c984b9cbbd17d3eb602de3802e25d975182474fa.zip |
iio: pressure: mpl115: support MPL115A1
mpl115 driver currently supports i2c interface (MPL115A2).
There is also SPI version (MPL115A1). The difference between them
is only physical transport so we can easily support both while sharing
most of the code.
Split the driver into a core support module and one module each for I2C
and SPI support.
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Jonathan Cameron <jic23@kernel.org>
Cc: Hartmut Knaack <knaack.h@gmx.de>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: Peter Meerwald <pmeerw@pmeerw.net>
Cc: linux-iio@vger.kernel.org
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/pressure/Makefile')
-rw-r--r-- | drivers/iio/pressure/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/iio/pressure/Makefile b/drivers/iio/pressure/Makefile index 46571c96823f..d336af14f3fe 100644 --- a/drivers/iio/pressure/Makefile +++ b/drivers/iio/pressure/Makefile @@ -6,6 +6,8 @@ obj-$(CONFIG_BMP280) += bmp280.o obj-$(CONFIG_HID_SENSOR_PRESS) += hid-sensor-press.o obj-$(CONFIG_MPL115) += mpl115.o +obj-$(CONFIG_MPL115_I2C) += mpl115_i2c.o +obj-$(CONFIG_MPL115_SPI) += mpl115_spi.o obj-$(CONFIG_MPL3115) += mpl3115.o obj-$(CONFIG_MS5611) += ms5611_core.o obj-$(CONFIG_MS5611_I2C) += ms5611_i2c.o |