diff mbox series

[v1,2/2] gpio: tegra: Add dependency on GPIOLIB_IRQCHIP

Message ID 20210112133010.21397-2-digetx@gmail.com
State New
Headers show
Series [v1,1/2] gpio: tegra: Fix wake interrupt | expand

Commit Message

Dmitry Osipenko Jan. 12, 2021, 1:30 p.m. UTC
Add dependency on GPIOLIB_IRQCHIP in order to fix driver compilation.

Fixes: efcdca286eef ("gpio: tegra: Convert to gpio_irq_chip")
Reported-by: Matt Merhar <mattmerhar@protonmail.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
---
 drivers/gpio/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Linus Walleij Jan. 18, 2021, 1:39 p.m. UTC | #1
On Tue, Jan 12, 2021 at 2:30 PM Dmitry Osipenko <digetx@gmail.com> wrote:

> Add dependency on GPIOLIB_IRQCHIP in order to fix driver compilation.

>

> Fixes: efcdca286eef ("gpio: tegra: Convert to gpio_irq_chip")

> Reported-by: Matt Merhar <mattmerhar@protonmail.com>

> Signed-off-by: Dmitry Osipenko <digetx@gmail.com>


Reviewed-by: Linus Walleij <linus.walleij@linaro.org>


Yours,
Linus Walleij
Bartosz Golaszewski Jan. 19, 2021, 12:52 p.m. UTC | #2
On Tue, Jan 12, 2021 at 2:30 PM Dmitry Osipenko <digetx@gmail.com> wrote:
>

> Add dependency on GPIOLIB_IRQCHIP in order to fix driver compilation.

>

> Fixes: efcdca286eef ("gpio: tegra: Convert to gpio_irq_chip")

> Reported-by: Matt Merhar <mattmerhar@protonmail.com>

> Signed-off-by: Dmitry Osipenko <digetx@gmail.com>

> ---

>  drivers/gpio/Kconfig | 1 +

>  1 file changed, 1 insertion(+)

>

> diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig

> index 75f6c37620ea..0cd1f91e4a19 100644

> --- a/drivers/gpio/Kconfig

> +++ b/drivers/gpio/Kconfig

> @@ -597,6 +597,7 @@ config GPIO_TEGRA

>         default ARCH_TEGRA

>         depends on ARCH_TEGRA || COMPILE_TEST

>         depends on OF_GPIO

> +       select GPIOLIB_IRQCHIP

>         help

>           Say yes here to support GPIO pins on NVIDIA Tegra SoCs.

>

> --

> 2.29.2

>


Applied, thanks!

Bartosz
diff mbox series

Patch

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 75f6c37620ea..0cd1f91e4a19 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -597,6 +597,7 @@  config GPIO_TEGRA
 	default ARCH_TEGRA
 	depends on ARCH_TEGRA || COMPILE_TEST
 	depends on OF_GPIO
+	select GPIOLIB_IRQCHIP
 	help
 	  Say yes here to support GPIO pins on NVIDIA Tegra SoCs.