]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
gpio: sim: add a Kconfig dependency on SYSFS
authorBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Wed, 29 Apr 2026 08:03:12 +0000 (10:03 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Tue, 5 May 2026 10:50:42 +0000 (12:50 +0200)
gpio-sim is unusable without sysfs. Add a Kconfig dependency to its
entry.

Closes: https://sashiko.dev/#/patchset/20260428113439.9783-1-m32285159%40gmail.com
Reviewed-by: Linus Walleij <linusw@kernel.org>
Link: https://patch.msgid.link/20260429080312.15561-1-bartosz.golaszewski@oss.qualcomm.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
drivers/gpio/Kconfig

index c56b00d77bf39c4a37ca4bb20a992908f080b8d9..ce95a25298a8ce07f488c050e0e0a0feef84b4cd 100644 (file)
@@ -2061,6 +2061,7 @@ config GPIO_VIRTIO
 
 config GPIO_SIM
        tristate "GPIO Simulator Module"
+       depends on SYSFS
        select IRQ_SIM
        select CONFIGFS_FS
        help