]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/asm-generic/gpio.h
TX6 Release 2013-04-22
[karo-tx-uboot.git] / include / asm-generic / gpio.h
index e003103e3c8b91464237a8d21ddd11f309458b16..dceaddcb7c6e0e63358b02c9f61851d3c2d8dcbc 100644 (file)
@@ -54,10 +54,11 @@ struct gpio {
 };
 
 /**
- * Request ownership of a GPIO.
+ * Request a gpio. This should be called before any of the other functions
+ * are used on this gpio.
  *
- * @param gpio GPIO number
- * @param label        Name given to the GPIO
+ * @param gp   GPIO number
+ * @param label        User label for this GPIO
  * @return 0 if ok, -1 on error
  */
 int gpio_request(unsigned gpio, const char *label);