Patch "gpio: GPIO_GRGPIO should depend on OF" has been added to the 6.13-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    gpio: GPIO_GRGPIO should depend on OF

to the 6.13-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     gpio-gpio_grgpio-should-depend-on-of.patch
and it can be found in the queue-6.13 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 76168fc93c1803f6599216202125ac3460edfe8f
Author: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
Date:   Wed Feb 5 14:05:03 2025 +0100

    gpio: GPIO_GRGPIO should depend on OF
    
    [ Upstream commit 5393f40a640b8c4f716bf87e7b0d4328bf1f22b2 ]
    
    While the Aeroflex Gaisler GRGPIO driver has no build-time dependency on
    gpiolib-of, it supports only DT-based configuration, and is used only on
    DT systems.  Hence add a dependency on OF, to prevent asking the user
    about this driver when configuring a kernel without DT support.
    
    Fixes: bc40668def384256 ("gpio: grgpio: drop Kconfig dependency on OF_GPIO")
    Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
    Reviewed-by: Andreas Larsson <andreas@xxxxxxxxxxx>
    Link: https://lore.kernel.org/r/db6da3d11bf850d89f199e5c740d8f133e38078d.1738760539.git.geert+renesas@xxxxxxxxx
    Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 93ee3aa092f81..1a66ca075aded 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -338,6 +338,7 @@ config GPIO_GRANITERAPIDS
 
 config GPIO_GRGPIO
 	tristate "Aeroflex Gaisler GRGPIO support"
+	depends on OF || COMPILE_TEST
 	select GPIO_GENERIC
 	select IRQ_DOMAIN
 	help




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux