OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe15c26
)
spi: rockchip: Add architecture dependency
author
Mark Brown
<broonie@kernel.org>
Thu, 23 Feb 2023 17:20:22 +0000
(17:20 +0000)
committer
Mark Brown
<broonie@kernel.org>
Sun, 5 Mar 2023 23:39:07 +0000
(23:39 +0000)
If base support for Rockchip SoCs has been disabled then the SPI driver
won't be terribly useful, add a dependency on ARCH_ROCKCHIP || COMPILE_TEST
to avoid it appearing when not needed.
Signed-off-by: Mark Brown <broonie@kernel.org>
Link:
https://lore.kernel.org/r/20230221-spi-arch-deps-v1-2-83d1566474cf@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/Kconfig
patch
|
blob
|
history
diff --git
a/drivers/spi/Kconfig
b/drivers/spi/Kconfig
index
47bbba0
..
8024baf
100644
(file)
--- a/
drivers/spi/Kconfig
+++ b/
drivers/spi/Kconfig
@@
-777,6
+777,7
@@
config SPI_PXA2XX_PCI
config SPI_ROCKCHIP
tristate "Rockchip SPI controller driver"
+ depends on ARCH_ROCKCHIP || COMPILE_TEST
help
This selects a driver for Rockchip SPI controller.