Skip to content

Commit

Permalink
gpio: mockup: add sysfs dependency
Browse files Browse the repository at this point in the history
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: 0f98dd1 ("gpio/mockup: add virtual gpio device")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
  • Loading branch information
Arnd Bergmann authored and Linus Walleij committed Oct 20, 2016
1 parent d1ca19c commit 0cb9409
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpio/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ config GPIO_MM_LANTIQ

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

0 comments on commit 0cb9409

Please sign in to comment.