]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
gpio: remove duplicate function signature
authorNikita Kiryanov <nikita@compulab.co.il>
Mon, 26 Nov 2012 23:06:32 +0000 (23:06 +0000)
committerTom Rini <trini@ti.com>
Tue, 11 Dec 2012 20:17:32 +0000 (13:17 -0700)
gpio_request() appears twice in asm-generic/gpio.h
Remove one of the definitions.

Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
include/asm-generic/gpio.h

index 23c964940312efc36f4dffac82292a141c1050b6..bfedbe44596aa31fb2266f7e052a63401f06d181 100644 (file)
  */
 
 /**
- * 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);
@@ -93,14 +94,4 @@ int gpio_get_value(unsigned gpio);
  * @return 0 if ok, -1 on error
  */
 int gpio_set_value(unsigned gpio, int value);
-
-/**
- * Request a gpio. This should be called before any of the other functions
- * are used on this 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);
 #endif /* _ASM_GENERIC_GPIO_H_ */