iio: health/afe4403: select REGMAP_SPI
authorArnd Bergmann <arnd@arndb.de>
Tue, 16 Feb 2016 15:52:15 +0000 (16:52 +0100)
committerJonathan Cameron <jic23@kernel.org>
Wed, 17 Feb 2016 19:31:06 +0000 (19:31 +0000)
The newly added afe4403 driver uses the regmap facility to abstract
the I2C and SPI access. However, it fails to ensure that regmap_spi
is actually present:

drivers/iio/built-in.o: In function `afe4403_probe':
:(.text+0x9bf8): undefined reference to `__devm_regmap_init_spi'

This adds a Kconfig select statement like the afe4404 I2C driver
has.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: eec96d1e2d31 ("iio: health: Add driver for the TI AFE4403 heart monitor")
Acked-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/health/Kconfig

index f0c19779ac27d8d0572798ee67c6d156321f4a52..c5f004a8e447745bd00c4987f65e8ead39be66ed 100644 (file)
@@ -10,6 +10,7 @@ menu "Heart Rate Monitors"
 config AFE4403
        tristate "TI AFE4403 Heart Rate Monitor"
        depends on SPI_MASTER
+       select REGMAP_SPI
        select IIO_BUFFER
        select IIO_TRIGGERED_BUFFER
        help
This page took 0.02568 seconds and 5 git commands to generate.