diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-10-10 14:42:46 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-10-20 14:14:11 +0200 |
commit | 0cb940927df72a514588d8286916eda4aaa4d011 (patch) | |
tree | af5c0e08fd6040ec5de502b31aac725ff398f3dd /drivers/gpio | |
parent | d1ca19cb3bc88318a54643f7a250ec6abab51108 (diff) | |
download | op-kernel-dev-0cb940927df72a514588d8286916eda4aaa4d011.zip op-kernel-dev-0cb940927df72a514588d8286916eda4aaa4d011.tar.gz |
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: 0f98dd1b27d2 ("gpio/mockup: add virtual gpio device")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio')
-rw-r--r-- | drivers/gpio/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 26ee00f..d011cb8 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -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 |