diff options
author | Sonic Zhang <sonic.zhang@analog.com> | 2011-08-01 17:53:21 +0800 |
---|---|---|
committer | Bob Liu <lliubbo@gmail.com> | 2011-11-14 17:11:25 +0800 |
commit | edb0a6408a84b4f14647770d8a6796afff3e93a9 (patch) | |
tree | 9d33ed07c409534ca9709a39dd25b1e60c3724d3 /arch/blackfin/mach-bf561/boards/ezkit.c | |
parent | 7f80850d3f9fd8fda23a317044aef3a6bafab06b (diff) | |
download | linux-stable-edb0a6408a84b4f14647770d8a6796afff3e93a9.tar.gz linux-stable-edb0a6408a84b4f14647770d8a6796afff3e93a9.tar.bz2 linux-stable-edb0a6408a84b4f14647770d8a6796afff3e93a9.zip |
Blackfin: add serial TX IRQ in individual platform resource
The serial TX IRQ is not simply (RX IRQ + 1) on some Blackfin chips,
so move the values to the platform resources.
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Bob Liu <lliubbo@gmail.com>
Diffstat (limited to 'arch/blackfin/mach-bf561/boards/ezkit.c')
-rw-r--r-- | arch/blackfin/mach-bf561/boards/ezkit.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/blackfin/mach-bf561/boards/ezkit.c b/arch/blackfin/mach-bf561/boards/ezkit.c index 9490dc800ca5..27f22ed381d9 100644 --- a/arch/blackfin/mach-bf561/boards/ezkit.c +++ b/arch/blackfin/mach-bf561/boards/ezkit.c @@ -172,8 +172,13 @@ static struct resource bfin_uart0_resources[] = { .flags = IORESOURCE_MEM, }, { + .start = IRQ_UART_TX, + .end = IRQ_UART_TX, + .flags = IORESOURCE_IRQ, + }, + { .start = IRQ_UART_RX, - .end = IRQ_UART_RX+1, + .end = IRQ_UART_RX, .flags = IORESOURCE_IRQ, }, { |