]> 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)
commitfeb6f2b32e4900e8b9b0909ae58d04292bd9ea4e
treeaf5c0e08fd6040ec5de502b31aac725ff398f3dd
parentf139bef0474b33da32a04716c97144ab5cb79699
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: 4fea72ae7998 ("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