Nikita Kiryanov
94740e4739
gpio: remove duplicate function signature
...
gpio_request() appears twice in asm-generic/gpio.h
Remove one of the definitions.
Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il >
2012-12-11 13:17:32 -07:00
Simon Glass
1bbd28d215
Add gpio_request() to asm-generic header
...
This function should also be part of the GPIO API, so add it.
Signed-off-by: Simon Glass <sjg@chromium.org >
2012-09-21 21:11:25 +02:00
Joe Hershberger
5f533aeb51
gpio: Modify common gpio.h to more closely match Linux
...
Change "int gp" to "unsigned gpio"
Add request and free entry-points
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com >
Cc: Joe Hershberger <joe.hershberger@gmail.com >
Signed-off-by: Kim Phillips <kim.phillips@freescale.com >
2012-01-09 20:10:32 -06:00
Simon Glass
9d2cb8e8e6
Add generic gpio.h in asm-generic
...
Since we want want to have a standard GPIO interface, this adds a definition
for this into include/asm-generic/gpio.h.
Signed-off-by: Simon Glass <sjg@chromium.org >
2011-10-17 23:56:59 +02:00