From: Geert Uytterhoeven Date: Tue, 18 Mar 2025 13:58:40 +0000 (+0100) Subject: pinctrl: PINCTRL_AMDISP should depend on DRM_AMD_ISP X-Git-Tag: v6.15-rc1~106^2~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=813b1a1a21fea47405dc44694c3031c3efcf0f03;p=thirdparty%2Fkernel%2Flinux.git pinctrl: PINCTRL_AMDISP should depend on DRM_AMD_ISP The AMD Image Signal Processor GPIO pin control functionality is only present on AMD platforms with ISP support, and its platform device is instantiated by the AMD ISP driver. Hence add a dependency on DRM_AMD_ISP, to prevent asking the user about this driver when configuring a kernel that does not support the AMD ISP. Fixes: e97435ab09f3ad7b ("pinctrl: amd: isp411: Add amdisp GPIO pinctrl") Signed-off-by: Geert Uytterhoeven Link: https://lore.kernel.org/3685561e8e3cd1d94bce220eeb6001d659da615c.1742306024.git.geert+renesas@glider.be Signed-off-by: Linus Walleij --- diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig index 5819f18b2ddce..464cc9aca157a 100644 --- a/drivers/pinctrl/Kconfig +++ b/drivers/pinctrl/Kconfig @@ -51,6 +51,7 @@ config PINCTRL_AMD config PINCTRL_AMDISP tristate "AMDISP GPIO pin control" + depends on DRM_AMD_ISP || COMPILE_TEST depends on HAS_IOMEM select GPIOLIB select PINCONF