mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 10:10:54 +07:00
gpio: raspberrypi-exp: explain Kconfig dependency
Commit 7ed915059c
(gpio: raspberrypi-ext: fix firmware dependency)
fixed the Kconfig dependency to ensure that gpio-raspberrypi-exp is not
built-in when the firmware is a module. But the Kconfig syntax for doing
so is cryptic. Add a comment to make it a little easier.
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
9a3821c2bb
commit
94337b7261
@ -126,6 +126,8 @@ config GPIO_RASPBERRYPI_EXP
|
|||||||
tristate "Raspberry Pi 3 GPIO Expander"
|
tristate "Raspberry Pi 3 GPIO Expander"
|
||||||
default RASPBERRYPI_FIRMWARE
|
default RASPBERRYPI_FIRMWARE
|
||||||
depends on OF_GPIO
|
depends on OF_GPIO
|
||||||
|
# Make sure not 'y' when RASPBERRYPI_FIRMWARE is 'm'. This can only
|
||||||
|
# happen when COMPILE_TEST=y, hence the added !RASPBERRYPI_FIRMWARE.
|
||||||
depends on (ARCH_BCM2835 && RASPBERRYPI_FIRMWARE) || (COMPILE_TEST && !RASPBERRYPI_FIRMWARE)
|
depends on (ARCH_BCM2835 && RASPBERRYPI_FIRMWARE) || (COMPILE_TEST && !RASPBERRYPI_FIRMWARE)
|
||||||
help
|
help
|
||||||
Turn on GPIO support for the expander on Raspberry Pi 3 boards, using
|
Turn on GPIO support for the expander on Raspberry Pi 3 boards, using
|
||||||
|
Loading…
Reference in New Issue
Block a user