All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] pinctrl: amd: Add ACPI dependency
@ 2020-05-07 11:37 Geert Uytterhoeven
  2020-05-16  9:23 ` Linus Walleij
  0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2020-05-07 11:37 UTC (permalink / raw)
  To: Linus Walleij, Ken Xue
  Cc: Arnd Bergmann, linux-gpio, linux-kernel, Geert Uytterhoeven

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(+)

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] pinctrl: amd: Add ACPI dependency
  2020-05-07 11:37 [PATCH] pinctrl: amd: Add ACPI dependency Geert Uytterhoeven
@ 2020-05-16  9:23 ` Linus Walleij
  0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2020-05-16  9:23 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Ken Xue, Arnd Bergmann, open list:GPIO SUBSYSTEM, linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-05-16  9:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-07 11:37 [PATCH] pinctrl: amd: Add ACPI dependency Geert Uytterhoeven
2020-05-16  9:23 ` Linus Walleij

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.