diff options
author | Markus Pargmann <mpa@pengutronix.de> | 2015-09-21 12:55:15 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-10-03 12:06:21 +0100 |
commit | 55637c38377a301cd0768cee73021e43d05de543 (patch) | |
tree | a05960293619bd904f79cdc8344f53d9d804f2b2 /drivers/iio/accel/Kconfig | |
parent | 19c95d63e7768fe8909775188f5ef948f7ce324a (diff) |
iio: bmc150: Split the driver into core and i2c
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Tested-by: Irina Tirdea <irina.tirdea@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/accel/Kconfig')
-rw-r--r-- | drivers/iio/accel/Kconfig | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/iio/accel/Kconfig b/drivers/iio/accel/Kconfig index dd3e293c619b..bb00770b63bd 100644 --- a/drivers/iio/accel/Kconfig +++ b/drivers/iio/accel/Kconfig @@ -19,21 +19,22 @@ config BMA180 config BMC150_ACCEL tristate "Bosch BMC150 Accelerometer Driver" - depends on I2C select IIO_BUFFER select IIO_TRIGGERED_BUFFER select REGMAP - select REGMAP_I2C + select BMC150_ACCEL_I2C if I2C help Say yes here to build support for the following Bosch accelerometers: BMC150, BMI055, BMA250E, BMA222E, BMA255, BMA280. - Currently this only supports the device via an i2c interface. - This is a combo module with both accelerometer and magnetometer. This driver is only implementing accelerometer part, which has its own address and register map. +config BMC150_ACCEL_I2C + tristate + select REGMAP_I2C + config HID_SENSOR_ACCEL_3D depends on HID_SENSOR_HUB select IIO_BUFFER |