mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-22 09:22:37 +00:00
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 theafe4404
I2C driver has. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Fixes:eec96d1e2d
("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>
This commit is contained in:
parent
1d427da1d7
commit
f56293c75b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user