diff options
author | Michael Hennerich <michael.hennerich@analog.com> | 2008-01-22 18:36:20 +0800 |
---|---|---|
committer | Bryan Wu <bryan.wu@analog.com> | 2008-01-22 18:36:20 +0800 |
commit | acbcd2631975cf6f0be5cd294cbfd12226cd9958 (patch) | |
tree | fc603be9957970892395b145547af3e17add7084 /include/asm-blackfin/mach-bf561 | |
parent | b97b8a998397e8c64699559099fa9febffae2b4d (diff) | |
download | blackbird-op-linux-acbcd2631975cf6f0be5cd294cbfd12226cd9958.tar.gz blackbird-op-linux-acbcd2631975cf6f0be5cd294cbfd12226cd9958.zip |
[Blackfin] arch: Fix BUG gpio_direction_output API is not compatitable with GENERIC_GPIO API interface
signef-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'include/asm-blackfin/mach-bf561')
-rw-r--r-- | include/asm-blackfin/mach-bf561/bfin_serial_5xx.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-blackfin/mach-bf561/bfin_serial_5xx.h b/include/asm-blackfin/mach-bf561/bfin_serial_5xx.h index 69b9f8e120e9..7871d4313f49 100644 --- a/include/asm-blackfin/mach-bf561/bfin_serial_5xx.h +++ b/include/asm-blackfin/mach-bf561/bfin_serial_5xx.h @@ -111,7 +111,7 @@ static void bfin_serial_hw_init(struct bfin_serial_port *uart) } if (uart->rts_pin >= 0) { gpio_request(uart->rts_pin, DRIVER_NAME); - gpio_direction_input(uart->rts_pin); + gpio_direction_input(uart->rts_pin, 0); } #endif } |