Commit bae4ae83 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Mark Brown

spi: fsi: restore CONFIG_FSI dependency

The assumption that the build dependency was not necessary turned
out to be wrong, as building SPI_FSI without FSI results in a link
failure:

aarch64-linux-ld: drivers/spi/spi-fsi.o: in function `fsi_spi_check_status':
spi-fsi.c:(.text+0x54): undefined reference to `fsi_device_read'
aarch64-linux-ld: drivers/spi/spi-fsi.o: in function `fsi_spi_read_reg':
spi-fsi.c:(.text+0x120): undefined reference to `fsi_device_write'
aarch64-linux-ld: spi-fsi.c:(.text+0x170): undefined reference to `fsi_device_read'

Fixes: f916c708 ("spi: fsi: Make available for build test")
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20230310140605.569363-1-arnd@kernel.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 21d19e60
...@@ -357,7 +357,7 @@ config SPI_FALCON ...@@ -357,7 +357,7 @@ config SPI_FALCON
config SPI_FSI config SPI_FSI
tristate "FSI SPI driver" tristate "FSI SPI driver"
depends on FSI || COMPILE_TEST depends on FSI
help help
This enables support for the driver for FSI bus attached SPI This enables support for the driver for FSI bus attached SPI
controllers. controllers.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment