Commit 32993b793fb07784fd1380004f5b34f31f9105d5

Authored by David Brownell
Committed by Linus Torvalds
1 parent 7faaa5f0bf

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 <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Showing 1 changed file with 3 additions and 1 deletions Side-by-side Diff

Documentation/gpio.txt
... ... @@ -66,7 +66,9 @@
66 66 used for several very different kinds of GPIO controller.
67 67  
68 68 That said, if the convention is supported on their platform, drivers should
69   -use it when possible:
  69 +use it when possible. Platforms should declare GENERIC_GPIO support in
  70 +Kconfig (boolean true), which multi-platform drivers can depend on when
  71 +using the include file:
70 72  
71 73 #include <asm/gpio.h>
72 74