* [PATCH] gpio: mockup: add sysfs dependency
@ 2016-10-10 12:42 Arnd Bergmann
2016-10-12 8:47 ` Linus Walleij
0 siblings, 1 reply; 2+ messages in thread
From: Arnd Bergmann @ 2016-10-10 12:42 UTC (permalink / raw)
To: Linus Walleij, Alexandre Courbot
Cc: Kamlakant Patel, Bamvor Jian Zhang, Arnd Bergmann,
William Breathitt Gray, linux-gpio, linux-kernel
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>
---
drivers/gpio/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 26ee00f6bd58..d011cb89d25e 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
--
2.9.0
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] gpio: mockup: add sysfs dependency
2016-10-10 12:42 [PATCH] gpio: mockup: add sysfs dependency Arnd Bergmann
@ 2016-10-12 8:47 ` Linus Walleij
0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2016-10-12 8:47 UTC (permalink / raw)
To: Arnd Bergmann
Cc: Alexandre Courbot, Kamlakant Patel, Bamvor Jian Zhang,
William Breathitt Gray, linux-gpio, linux-kernel
On Mon, Oct 10, 2016 at 2:42 PM, Arnd Bergmann <arnd@arndb.de> wrote:
> 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>
Patch applied.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-10-12 8:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-10 12:42 [PATCH] gpio: mockup: add sysfs dependency Arnd Bergmann
2016-10-12 8:47 ` Linus Walleij
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®