iio: accel: Make bma180 conflict with input's bma150
authorJonathan Bakker <xc-racer2@live.ca>
Thu, 14 May 2020 20:48:56 +0000 (13:48 -0700)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 16 May 2020 14:59:44 +0000 (15:59 +0100)
The bma180 IIO driver is being extended for support for the chips
support by input's bma150 driver (bma023, bma150, smb380). Don't
allow both drivers to be enabled simultaneously as they're for the
same hardware.

Signed-off-by: Jonathan Bakker <xc-racer2@live.ca>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/accel/Kconfig

index 24ebe9e76915100e576cd2cf984d267552e12a2a..67c35b6eb910b7e0c1f7931cd40ffb8fc921afd4 100644 (file)
@@ -90,7 +90,7 @@ config ADXL372_I2C
 
 config BMA180
        tristate "Bosch BMA180/BMA25x 3-Axis Accelerometer Driver"
-       depends on I2C
+       depends on I2C && INPUT_BMA150=n
        select IIO_BUFFER
        select IIO_TRIGGERED_BUFFER
        help