mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
gpio: GPIO_SAMA5D2_PIOBU should depend on ARCH_AT91
The SAMA5D2 PIOBU is only present on some AT91/Microchip SoCs. Hence add a dependency on ARCH_AT91, to prevent asking the user about this driver when configuring a kernel without AT91/Microchip SoC support. Signed-off-by: Geert Uytterhoeven <[email protected]> Acked-by: Nicolas Ferre <[email protected]> Signed-off-by: Bartosz Golaszewski <[email protected]>
This commit is contained in:
1 parent
5d07a692f9
commit
b06d7b458a
1 file changed
+1
@@ -544,6 +544,7 @@ config GPIO_SAMA5D2_PIOBU
|
||||
tristate "SAMA5D2 PIOBU GPIO support"
|
||||
depends on MFD_SYSCON
|
||||
depends on OF_GPIO
|
||||
depends on ARCH_AT91 || COMPILE_TEST
|
||||
select GPIO_SYSCON
|
||||
help
|
||||
Say yes here to use the PIOBU pins as GPIOs.
|
||||
|
||||
Reference in new issue
Block a user