VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   55 Tags
author: Linus Walleij <linus.walleij@linaro.org> 2020-11-10 15:27:24 +0100 committer: Linus Walleij <linus.walleij@linaro.org> 2020-12-04 09:03:44 +0100 commit: 3b4feb21158f873269ff3fbe2fe8d23a88d64b24 parent: 0f2c7af45d7eef8455d7ad39c5326229bf19a2ed
Commit Summary:
gpio: sysfs: Enforce character device
Diffstat:
1 file changed, 2 insertions, 1 deletion
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 5d4de5cd6759..4dd566f7ea39 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -59,8 +59,9 @@ config DEBUG_GPIO
 	  that are most common when setting up new platforms or boards.
 
 config GPIO_SYSFS
-	bool "/sys/class/gpio/... (sysfs interface)"
+	bool "/sys/class/gpio/... (sysfs interface)" if EXPERT
 	depends on SYSFS
+	select GPIO_CDEV # We need to encourage the new ABI
 	help
 	  Say Y here to add the legacy sysfs interface for GPIOs.