diff options
author | Daniel Baluta <daniel.baluta@intel.com> | 2016-04-15 17:13:09 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-04-18 20:44:40 +0100 |
commit | 761b7910d4b4f0e7d283873b701ca83beacd70a5 (patch) | |
tree | f5d66d5c6eaec9ce92d24b17de71aaa8d1ad058b /drivers/iio/magnetometer/Makefile | |
parent | 922b3aa6e74e4e1cac95cf4ab88ecc0fd5162c89 (diff) |
iio: magn: Split bmc150 driver in common/i2c parts
This is useful for easily adding SPI support in later patches.
Now bmc150_magn exports core functions to be used by I2C/SPI drivers
instances. For the moment only I2C driver is supported.
Signed-off-by: Daniel Baluta <daniel.baluta@intel.com>
Acked-by: Irina Tirdea <irina.tirdea@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/magnetometer/Makefile')
-rw-r--r-- | drivers/iio/magnetometer/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/iio/magnetometer/Makefile b/drivers/iio/magnetometer/Makefile index dd03fe524481..56477737e083 100644 --- a/drivers/iio/magnetometer/Makefile +++ b/drivers/iio/magnetometer/Makefile @@ -5,6 +5,8 @@ # When adding new entries keep the list in alphabetical order obj-$(CONFIG_AK8975) += ak8975.o obj-$(CONFIG_BMC150_MAGN) += bmc150_magn.o +obj-$(CONFIG_BMC150_MAGN_I2C) += bmc150_magn_i2c.o + obj-$(CONFIG_MAG3110) += mag3110.o obj-$(CONFIG_HID_SENSOR_MAGNETOMETER_3D) += hid-sensor-magn-3d.o obj-$(CONFIG_MMC35240) += mmc35240.o |