mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-17 17:06:41 +07:00
spi: uniphier: Depend on HAS_IOMEM
The driver uses devm_ioremap_resource() which is only available when CONFIG_HAS_IOMEM is set, so the driver depends on this option. Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com> Link: https://lore.kernel.org/r/1589185530-28170-1-git-send-email-hayashi.kunihiko@socionext.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
a041e672cb
commit
6a091404bf
@ -844,6 +844,7 @@ config SPI_TXX9
|
||||
config SPI_UNIPHIER
|
||||
tristate "Socionext UniPhier SPI Controller"
|
||||
depends on (ARCH_UNIPHIER || COMPILE_TEST) && OF
|
||||
depends on HAS_IOMEM
|
||||
help
|
||||
This enables a driver for the Socionext UniPhier SoC SCSSI SPI controller.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user