pinctrl: amd: Add ACPI dependency
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>
This commit is contained in:
parent
80691a8ac7
commit
47fa5c971b
|
@ -95,6 +95,7 @@ config PINCTRL_AT91PIO4
|
||||||
config PINCTRL_AMD
|
config PINCTRL_AMD
|
||||||
tristate "AMD GPIO pin control"
|
tristate "AMD GPIO pin control"
|
||||||
depends on HAS_IOMEM
|
depends on HAS_IOMEM
|
||||||
|
depends on ACPI || COMPILE_TEST
|
||||||
select GPIOLIB
|
select GPIOLIB
|
||||||
select GPIOLIB_IRQCHIP
|
select GPIOLIB_IRQCHIP
|
||||||
select PINMUX
|
select PINMUX
|
||||||
|
|
Loading…
Reference in New Issue