Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0cb94092 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Linus Walleij
Browse files

gpio: mockup: add sysfs dependency



Building the gpio-mockup driver without SYSFS results in a harmless Kconfig
warning:

warning: (GPIO_MOCKUP) selects GPIO_SYSFS which has unmet direct dependencies (GPIOLIB && SYSFS)

We can easily avoid that warning by adding a dependency on SYSFS.

Fixes: 0f98dd1b ("gpio/mockup: add virtual gpio device")
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent d1ca19cb
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -284,7 +284,7 @@ config GPIO_MM_LANTIQ


config GPIO_MOCKUP
config GPIO_MOCKUP
	tristate "GPIO Testing Driver"
	tristate "GPIO Testing Driver"
	depends on GPIOLIB
	depends on GPIOLIB && SYSFS
	select GPIO_SYSFS
	select GPIO_SYSFS
	help
	help
	  This enables GPIO Testing driver, which provides a way to test GPIO
	  This enables GPIO Testing driver, which provides a way to test GPIO