diff options
author | Thomas Chou <thomas@wytron.com.tw> | 2010-12-24 07:19:44 (GMT) |
---|---|---|
committer | Scott McNutt <smcnutt@psyent.com> | 2011-02-08 13:29:53 (GMT) |
commit | e91d54535f8535c6de05044fa6f715a78f4320f8 (patch) | |
tree | e1799392522cfcbea919a3be2ded164fa4d30dc4 /board/altera/nios2-generic/gpio.c | |
parent | 8d4addc3c3fe1a9ea160a5a1a20a1f934ff3fe97 (diff) | |
download | u-boot-e91d54535f8535c6de05044fa6f715a78f4320f8.tar.xz |
nios2: add gpio_free
Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Signed-off-by: Scott McNutt <smcnutt@psyent.com>
Diffstat (limited to 'board/altera/nios2-generic/gpio.c')
-rw-r--r-- | board/altera/nios2-generic/gpio.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/board/altera/nios2-generic/gpio.c b/board/altera/nios2-generic/gpio.c index d449684..8c639ce 100644 --- a/board/altera/nios2-generic/gpio.c +++ b/board/altera/nios2-generic/gpio.c @@ -20,6 +20,11 @@ int gpio_request(unsigned gpio, const char *label) return 0; } +int gpio_free(unsigned gpio) +{ + return 0; +} + int gpio_direction_input(unsigned gpio) { u32 mask = 1 << gpio; |