OSDN Git Service

spi: nxp-flexspi: Fix ARCH_LAYERSCAPE dependency
authorMark Brown <broonie@kernel.org>
Thu, 23 Feb 2023 17:20:23 +0000 (17:20 +0000)
committerMark Brown <broonie@kernel.org>
Sun, 5 Mar 2023 23:39:08 +0000 (23:39 +0000)
commitc6b15b2437a10b7b381d32f4a5341f655bfa296f
tree59bfdec77ad1536af59831bbcd3343fe15a7a606
parent330a200d360f8b140b31d7da8b657da0472484e6
spi: nxp-flexspi: Fix ARCH_LAYERSCAPE dependency

Currently the NXP Flex SPI driver has a dependency on ARCH_LAYERSCAPE ||
HAS_IOMEM which means that the dependency is almost always true and the
driver available. Really these should be two separate dependencies, with
an || COMPILE_TEST dependency for the architecture to ensure build coverage
is maintained.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20230221-spi-arch-deps-v1-3-83d1566474cf@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/Kconfig