[U-Boot] arm, kirkwood: added kw_gpio_set_valid() in gpio.h

Heiko Schocher hs at denx.de
Thu Jul 16 09:58:31 CEST 2009


Signed-off-by: Heiko Schocher <hs at denx.de>
---
This patch needs the patch from:
http://lists.denx.de/pipermail/u-boot/2009-July/055854.html
first applied.

 include/asm-arm/arch-kirkwood/gpio.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/asm-arm/arch-kirkwood/gpio.h b/include/asm-arm/arch-kirkwood/gpio.h
index cac58f4..aa880c0 100644
--- a/include/asm-arm/arch-kirkwood/gpio.h
+++ b/include/asm-arm/arch-kirkwood/gpio.h
@@ -37,6 +37,8 @@
 /*
  * Kirkwood-specific GPIO API
  */
+
+void kw_gpio_set_valid(unsigned pin, int mode);
 int kw_gpio_is_valid(unsigned pin, int mode);
 int kw_gpio_direction_input(unsigned pin);
 int kw_gpio_direction_output(unsigned pin, int value);
-- 
1.6.0.6

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list