Skip to content

Commit 813b1a1

Browse files
geertulinusw
authored andcommitted
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: e97435a ("pinctrl: amd: isp411: Add amdisp GPIO pinctrl") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/3685561e8e3cd1d94bce220eeb6001d659da615c.1742306024.git.geert+renesas@glider.be Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
1 parent eb85788 commit 813b1a1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/pinctrl/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ config PINCTRL_AMD
5151

5252
config PINCTRL_AMDISP
5353
tristate "AMDISP GPIO pin control"
54+
depends on DRM_AMD_ISP || COMPILE_TEST
5455
depends on HAS_IOMEM
5556
select GPIOLIB
5657
select PINCONF

0 commit comments

Comments
 (0)