public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] gpio: sim: add a Kconfig dependency on SYSFS
@ 2026-04-29  8:03 Bartosz Golaszewski
  2026-05-05  9:40 ` Linus Walleij
  2026-05-05 10:50 ` Bartosz Golaszewski
  0 siblings, 2 replies; 3+ messages in thread
From: Bartosz Golaszewski @ 2026-04-29  8:03 UTC (permalink / raw)
  To: Linus Walleij, Bartosz Golaszewski
  Cc: linux-gpio, linux-kernel, Bartosz Golaszewski

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] gpio: sim: add a Kconfig dependency on SYSFS
  2026-04-29  8:03 [PATCH] gpio: sim: add a Kconfig dependency on SYSFS Bartosz Golaszewski
@ 2026-05-05  9:40 ` Linus Walleij
  2026-05-05 10:50 ` Bartosz Golaszewski
  1 sibling, 0 replies; 3+ messages in thread
From: Linus Walleij @ 2026-05-05  9:40 UTC (permalink / raw)
  To: Bartosz Golaszewski; +Cc: Bartosz Golaszewski, linux-gpio, linux-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] gpio: sim: add a Kconfig dependency on SYSFS
  2026-04-29  8:03 [PATCH] gpio: sim: add a Kconfig dependency on SYSFS Bartosz Golaszewski
  2026-05-05  9:40 ` Linus Walleij
@ 2026-05-05 10:50 ` Bartosz Golaszewski
  1 sibling, 0 replies; 3+ messages in thread
From: Bartosz Golaszewski @ 2026-05-05 10:50 UTC (permalink / raw)
  To: Linus Walleij, Bartosz Golaszewski, Bartosz Golaszewski
  Cc: linux-gpio, linux-kernel


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>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-05-05 10:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-29  8:03 [PATCH] gpio: sim: add a Kconfig dependency on SYSFS Bartosz Golaszewski
2026-05-05  9:40 ` Linus Walleij
2026-05-05 10:50 ` Bartosz Golaszewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox