]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-generic/gpio.h
Driver core: add bus_sort_breadthfirst() function
[linux-2.6-omap-h63xx.git] / include / asm-generic / gpio.h
index a3034d20ebd5ef2f7d264b62311afa06a7ac7327..0f99ad38b012f93ef10ccb5b0f9105b4e7f8daab 100644 (file)
@@ -2,6 +2,7 @@
 #define _ASM_GENERIC_GPIO_H
 
 #include <linux/types.h>
+#include <linux/errno.h>
 
 #ifdef CONFIG_GPIOLIB
 
@@ -13,7 +14,7 @@
  *
  * While the GPIO programming interface defines valid GPIO numbers
  * to be in the range 0..MAX_INT, this library restricts them to the
- * smaller range 0..ARCH_NR_GPIOS.
+ * smaller range 0..ARCH_NR_GPIOS-1.
  */
 
 #ifndef ARCH_NR_GPIOS