git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] gpio_direction_output() needs an initial value
[sfrench/cifs-2.6.git]
/
include
/
asm-arm
/
arch-at91
/
gpio.h
diff --git
a/include/asm-arm/arch-at91/gpio.h
b/include/asm-arm/arch-at91/gpio.h
index 98ad2114f43a2bbae4c68c19225dd25270d7a533..0a241e2fb672212b52293872dcb445e53c081be3 100644
(file)
--- a/
include/asm-arm/arch-at91/gpio.h
+++ b/
include/asm-arm/arch-at91/gpio.h
@@
-223,7
+223,7
@@
static inline void gpio_free(unsigned gpio)
}
extern int gpio_direction_input(unsigned gpio);
-extern int gpio_direction_output(unsigned gpio);
+extern int gpio_direction_output(unsigned gpio
, int value
);
static inline int gpio_get_value(unsigned gpio)
{