summaryrefslogtreecommitdiffstats
path: root/include/asm-blackfin/mach-bf537
diff options
context:
space:
mode:
authorSonic Zhang <sonic.zhang@analog.com>2008-02-02 14:29:25 +0800
committerBryan Wu <cooloney@kernel.org>2008-02-02 14:29:25 +0800
commit4cb4f22b19237e63c460c53fbd1c417cdaf63014 (patch)
tree6c5f6630af999a1e45241f6e8ee8e262d815a2c1 /include/asm-blackfin/mach-bf537
parent095455682e29dbbc9f93ad83db459df524524992 (diff)
downloadblackbird-op-linux-4cb4f22b19237e63c460c53fbd1c417cdaf63014.tar.gz
blackbird-op-linux-4cb4f22b19237e63c460c53fbd1c417cdaf63014.zip
[Blackfin] serial driver: Fix bug Poll RTS/CTS status in DMA mode as well
https://blackfin.uclinux.org/gf/project/uclinux-dist/tracker/?action=TrackerItemEdit&tracker_item_id=3858 Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'include/asm-blackfin/mach-bf537')
-rw-r--r--include/asm-blackfin/mach-bf537/bfin_serial_5xx.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/asm-blackfin/mach-bf537/bfin_serial_5xx.h b/include/asm-blackfin/mach-bf537/bfin_serial_5xx.h
index f18c517cc935..8fc672d31057 100644
--- a/include/asm-blackfin/mach-bf537/bfin_serial_5xx.h
+++ b/include/asm-blackfin/mach-bf537/bfin_serial_5xx.h
@@ -67,10 +67,9 @@ struct bfin_serial_port {
unsigned int tx_dma_channel;
unsigned int rx_dma_channel;
struct work_struct tx_dma_workqueue;
-#else
- struct work_struct cts_workqueue;
#endif
#ifdef CONFIG_SERIAL_BFIN_CTSRTS
+ struct work_struct cts_workqueue;
int cts_pin;
int rts_pin;
#endif
OpenPOWER on IntegriCloud