]> git.baikalelectronics.ru Git - kernel.git/commit
staging/wilc: fix Kconfig dependencies, second try
authorArnd Bergmann <arnd@arndb.de>
Fri, 16 Oct 2015 20:45:39 +0000 (22:45 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Oct 2015 05:03:05 +0000 (22:03 -0700)
commit512d085670bcf6676a010837e4501515556476d3
tree216172279033b8ad90d6a7ea1521e8cb3e2edd30
parentfd33b92bea006de2c78ecee79c16c2d7423f6f32
staging/wilc: fix Kconfig dependencies, second try

My first attempt to fix the Kconfig logic for wilc1000 was incomplete,
as it missed the case where SPI is built-in while SDIO is modular
and wilc1000 is configured as built-in in SPI mode (or vice versa),
which would still lead to a link failure.

This works around the problem by adding an intermediate Kconfig
symbol "WILC1000_DRIVER" that controls visibility of the SDIO and
SPI sub-drivers, so we can control the dependencies better.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: b7243efbe28d ("staging/wilc1000: fix Kconfig dependencies")
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/Kconfig