mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
gpio: fix SNPS_CREG kconfig dependency warning
Fix kconfig warning for GPIO_SNPS_CREG: WARNING: unmet direct dependencies detected for OF_GPIO Depends on [n]: GPIOLIB [=y] && OF [=n] && HAS_IOMEM [=y] Selected by [y]: - GPIO_SNPS_CREG [=y] && GPIOLIB [=y] && HAS_IOMEM [=y] && (ARC || COMPILE_TEST [=y]) Drivers in drivers/gpio/Kconfig depend on OF_GPIO, not select it. This prevents attempting to build when OF is not enabled. Signed-off-by: Randy Dunlap <[email protected]> Cc: Linus Walleij <[email protected]> Cc: [email protected] Cc: Eugeniy Paltsev <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
This commit is contained in:
parent
767cd17a5c
commit
a7c0b4b80f
1 changed files with 1 additions and 1 deletions
|
|
@ -440,7 +440,7 @@ config GPIO_SIOX
|
|||
config GPIO_SNPS_CREG
|
||||
bool "Synopsys GPIO via CREG (Control REGisters) driver"
|
||||
depends on ARC || COMPILE_TEST
|
||||
select OF_GPIO
|
||||
depends on OF_GPIO
|
||||
help
|
||||
This driver supports GPIOs via CREG on various Synopsys SoCs.
|
||||
This is a single-register MMIO GPIO driver for complex cases
|
||||
|
|
|
|||
Loading…
Reference in a new issue