The modepin GPIO driver can be used only on ZynqMP, so add the ARCH_ZYNQMP dependency in Kconfig to prevent it from being enabled on other platforms.
Signed-off-by: Michal Simek <[email protected]> --- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index a11f30436708..6da66b6f3f31 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -714,7 +714,7 @@ config NOMADIK_GPIO config ZYNQMP_GPIO_MODEPIN bool "ZynqMP gpio modepin" - depends on DM_GPIO && ZYNQMP_FIRMWARE + depends on DM_GPIO && ZYNQMP_FIRMWARE && ARCH_ZYNQMP help This config enables the ZynqMP gpio modepin driver. ZynqMP modepin driver will set and get the status of PS_MODE pins. These modepins --- -- 2.43.0
