提交 0cb94092 编写于 作者: A Arnd Bergmann 提交者: Linus Walleij

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: NArnd Bergmann <arnd@arndb.de>
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
上级 d1ca19cb
...@@ -284,7 +284,7 @@ config GPIO_MM_LANTIQ ...@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册