projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
290ffcf
)
gpio: GPIO_BLZP1600 should depend on ARCH_BLAIZE
author
Geert Uytterhoeven
<geert+renesas@glider.be>
Wed, 9 Apr 2025 09:22:35 +0000
(11:22 +0200)
committer
Bartosz Golaszewski
<brgl@bgdev.pl>
Mon, 14 Apr 2025 20:31:15 +0000
(22:31 +0200)
The Blaize BLZP1600 GPIO controller is only present on BLaize BLZP1600
SoCs. Hence add a dependency on ARCH_BLAIZE, to prevent asking the user
about this driver when configuring a kernel without Blaize platform
support.
Fixes:
602ae04f56542d8e
("gpio: Enable Blaize BLZP1600 GPIO support")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Nikolaos Pasaloukos <nikolaos.pasaloukos@blaize.com>
Link:
https://lore.kernel.org/r/a75af4b623579a193b4a59350c063969aabb5b71.1744190524.git.geert+renesas@glider.be
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
drivers/gpio/Kconfig
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpio/Kconfig
b/drivers/gpio/Kconfig
index 688a01ad4d69fa72429dff27001e31c735681896..975cc95be54255ef5953bc61a8f7a7f174ea2626 100644
(file)
--- a/
drivers/gpio/Kconfig
+++ b/
drivers/gpio/Kconfig
@@
-216,6
+216,7
@@
config GPIO_BCM_XGS_IPROC
config GPIO_BLZP1600
tristate "Blaize BLZP1600 GPIO support"
default y if ARCH_BLAIZE
+ depends on ARCH_BLAIZE || COMPILE_TEST
depends on OF_GPIO
select GPIO_GENERIC
select GPIOLIB_IRQCHIP