diff options
author | Michael Buesch <mb@bu3sch.de> | 2008-07-26 18:22:26 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-26 23:16:47 -0400 |
commit | 6a9436d0c3cbe8941b1acd5b0736d355295cad98 (patch) | |
tree | d29f52ca2778aa2aa1ee66158b234e4ac462013b | |
parent | a048d3aff8b828b6c0fa7ddd90a531248ab4e0f9 (diff) |
gpiolib: fix typo in comment
This fixes an off-by-one error in a comment.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | include/asm-generic/gpio.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-generic/gpio.h b/include/asm-generic/gpio.h index a3034d20ebd5..c764a8fcb058 100644 --- a/include/asm-generic/gpio.h +++ b/include/asm-generic/gpio.h | |||
@@ -13,7 +13,7 @@ | |||
13 | * | 13 | * |
14 | * While the GPIO programming interface defines valid GPIO numbers | 14 | * While the GPIO programming interface defines valid GPIO numbers |
15 | * to be in the range 0..MAX_INT, this library restricts them to the | 15 | * to be in the range 0..MAX_INT, this library restricts them to the |
16 | * smaller range 0..ARCH_NR_GPIOS. | 16 | * smaller range 0..ARCH_NR_GPIOS-1. |
17 | */ | 17 | */ |
18 | 18 | ||
19 | #ifndef ARCH_NR_GPIOS | 19 | #ifndef ARCH_NR_GPIOS |