OSDN Git Service

pinctrl: amd: Add ACPI dependency
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 7 May 2020 11:37:51 +0000 (13:37 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 16 May 2020 09:23:11 +0000 (11:23 +0200)
Currently the AMD pin controller driver supports ACPI platform only.
Make the PINCTRL_AMD config symbol depend on ACPI, to avoid asking the
user about it when configuring a kernel without ACPI support.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20200507113751.24213-1-geert+renesas@glider.be
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/Kconfig

index 8503012..ae4922b 100644 (file)
@@ -95,6 +95,7 @@ config PINCTRL_AT91PIO4
 config PINCTRL_AMD
        tristate "AMD GPIO pin control"
        depends on HAS_IOMEM
+       depends on ACPI || COMPILE_TEST
        select GPIOLIB
        select GPIOLIB_IRQCHIP
        select PINMUX