diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-02-16 10:52:15 -0500 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-02-17 14:31:06 -0500 |
commit | f56293c75bc3a2d406ff7797470a1d996af27186 (patch) | |
tree | 772642cf6545e07023ce8e9404cb4a57312eb621 | |
parent | 1d427da1d7f9f81c4f5439c9610683d3cb9c1921 (diff) |
iio: health/afe4403: select REGMAP_SPI
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>
-rw-r--r-- | drivers/iio/health/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/health/Kconfig b/drivers/iio/health/Kconfig index f0c19779ac27..c5f004a8e447 100644 --- a/drivers/iio/health/Kconfig +++ b/drivers/iio/health/Kconfig | |||
@@ -10,6 +10,7 @@ menu "Heart Rate Monitors" | |||
10 | config AFE4403 | 10 | config AFE4403 |
11 | tristate "TI AFE4403 Heart Rate Monitor" | 11 | tristate "TI AFE4403 Heart Rate Monitor" |
12 | depends on SPI_MASTER | 12 | depends on SPI_MASTER |
13 | select REGMAP_SPI | ||
13 | select IIO_BUFFER | 14 | select IIO_BUFFER |
14 | select IIO_TRIGGERED_BUFFER | 15 | select IIO_TRIGGERED_BUFFER |
15 | help | 16 | help |