[PATCH] gpio: sim: add a Kconfig dependency on SYSFS
From: Bartosz Golaszewski
Date: Wed Apr 29 2026 - 04:04:26 EST
gpio-sim is unusable without sysfs. Add a Kconfig dependency to its
entry.
Closes: https://sashiko.dev/#/patchset/20260428113439.9783-1-m32285159%40gmail.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>
---
drivers/gpio/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index f86e25da964bf..626173d1731e1 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -2060,6 +2060,7 @@ config GPIO_VIRTIO
config GPIO_SIM
tristate "GPIO Simulator Module"
+ depends on SYSFS
select IRQ_SIM
select CONFIGFS_FS
help
--
2.47.3