[PATCH] gpio: sim: add a Kconfig dependency on SYSFS

Bartosz Golaszewski posted 1 patch 1 month, 2 weeks ago
drivers/gpio/Kconfig | 1 +
1 file changed, 1 insertion(+)
[PATCH] gpio: sim: add a Kconfig dependency on SYSFS
Posted by Bartosz Golaszewski 1 month, 2 weeks ago
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@oss.qualcomm.com>
---
 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
Re: [PATCH] gpio: sim: add a Kconfig dependency on SYSFS
Posted by Bartosz Golaszewski 1 month, 1 week ago
On Wed, 29 Apr 2026 10:03:12 +0200, Bartosz Golaszewski wrote:
> gpio-sim is unusable without sysfs. Add a Kconfig dependency to its
> entry.
> 
> 

Applied, thanks!

[1/1] gpio: sim: add a Kconfig dependency on SYSFS
      https://git.kernel.org/brgl/c/3a33394e8a5bc10ae4cbe9a35177fef714513e2e

Best regards,
-- 
Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Re: [PATCH] gpio: sim: add a Kconfig dependency on SYSFS
Posted by Linus Walleij 1 month, 1 week ago
On Wed, Apr 29, 2026 at 10:03 AM Bartosz Golaszewski
<bartosz.golaszewski@oss.qualcomm.com> wrote:

> 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@oss.qualcomm.com>

Reviewed-by: Linus Walleij <linusw@kernel.org>

Yours,
Linus Walleij