]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: mockup: add sysfs dependency
authorArnd Bergmann <arnd@arndb.de>
Mon, 10 Oct 2016 12:42:46 +0000 (14:42 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 20 Oct 2016 12:14:11 +0000 (14:14 +0200)
commit766c5f25567fb8679b8f3a745f5886d707cac647
treeaf5c0e08fd6040ec5de502b31aac725ff398f3dd
parentd07bb96fb96c77371b36f35a16031ae72c08a680
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: 93f4b0eed12d ("gpio/mockup: add virtual gpio device")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/Kconfig