summaryrefslogtreecommitdiffstats
path: root/drivers/iio/magnetometer/Makefile
diff options
context:
space:
mode:
authorDaniel Baluta2016-04-15 16:13:09 +0200
committerJonathan Cameron2016-04-18 21:44:40 +0200
commit761b7910d4b4f0e7d283873b701ca83beacd70a5 (patch)
treef5d66d5c6eaec9ce92d24b17de71aaa8d1ad058b /drivers/iio/magnetometer/Makefile
parentiio: adc: set INPUT_PROP_DIRECT (diff)
downloadkernel-qcow2-linux-761b7910d4b4f0e7d283873b701ca83beacd70a5.tar.gz
kernel-qcow2-linux-761b7910d4b4f0e7d283873b701ca83beacd70a5.tar.xz
kernel-qcow2-linux-761b7910d4b4f0e7d283873b701ca83beacd70a5.zip
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/Makefile2
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