diff options
author | David Brownell <david-b@pacbell.net> | 2007-05-11 01:22:17 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-11 11:29:32 -0400 |
commit | 32993b793fb07784fd1380004f5b34f31f9105d5 (patch) | |
tree | 8fc3f407480d8e18c67bf55b559ac74bd635481b /Documentation | |
parent | 7faaa5f0bf4db6ac4908038e2139adc46c165ff4 (diff) |
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>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/gpio.txt | 4 |
1 files changed, 3 insertions, 1 deletions
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 | |||
66 | used for several very different kinds of GPIO controller. | 66 | used for several very different kinds of GPIO controller. |
67 | 67 | ||
68 | That said, if the convention is supported on their platform, drivers should | 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 | #include <asm/gpio.h> | 73 | #include <asm/gpio.h> |
72 | 74 | ||