From: David Brownell Date: Fri, 11 May 2007 05:22:17 +0000 (-0700) Subject: Documentation/gpio.txt mentions GENERIC_GPIO X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=32993b793fb07784fd1380004f5b34f31f9105d5;p=openwrt%2Fstaging%2Fblogic.git Documentation/gpio.txt mentions GENERIC_GPIO Documentation/gpio.txt should mention the Kconfig GENERIC_GPIO flag, for platforms to declare when relevant. This should help minimize goofs like omitting it, or not depending on it when needed. Signed-off-by: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/Documentation/gpio.txt b/Documentation/gpio.txt index f8528db967fa..e8be0abb346c 100644 --- a/Documentation/gpio.txt +++ b/Documentation/gpio.txt @@ -66,7 +66,9 @@ registers; another might implement it by delegating through abstractions used for several very different kinds of GPIO controller. That said, if the convention is supported on their platform, drivers should -use it when possible: +use it when possible. Platforms should declare GENERIC_GPIO support in +Kconfig (boolean true), which multi-platform drivers can depend on when +using the include file: #include