diff mbox series

pinctrl: amd: Add ACPI dependency

Message ID 20200507113751.24213-1-geert+renesas@glider.be
State New
Headers show
Series pinctrl: amd: Add ACPI dependency | expand

Commit Message

Geert Uytterhoeven May 7, 2020, 11:37 a.m. UTC
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>
---
 drivers/pinctrl/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Linus Walleij May 16, 2020, 9:23 a.m. UTC | #1
On Thu, May 7, 2020 at 1:37 PM Geert Uytterhoeven
<geert+renesas@glider.be> wrote:

> 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>

Patch applied!

Yours,
Linus Walleij
diff mbox series

Patch

diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig
index f646f070d98fc2cb..f0ce4ce3e0f52456 100644
--- a/drivers/pinctrl/Kconfig
+++ b/drivers/pinctrl/Kconfig
@@ -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