diff options
author | Yi Li <yi.li@analog.com> | 2009-06-05 08:11:11 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-06-13 07:20:10 -0400 |
commit | 53122693c3cef005495279835286c36c58e035e8 (patch) | |
tree | 8bdbf1e2f73a083258ad7c0fd5315bd4b3ae4153 /arch/blackfin/mach-bf537/boards/tcm_bf537.c | |
parent | 54ebae7166275a618f0228138e67ff7d10a3b9d0 (diff) |
Blackfin: define SPI IRQ in board resources
The Blackfin SPI driver can be driven by an IRQ now, so declare it in
the board resources.
Signed-off-by: Yi Li <yi.li@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-bf537/boards/tcm_bf537.c')
-rw-r--r-- | arch/blackfin/mach-bf537/boards/tcm_bf537.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf537/boards/tcm_bf537.c b/arch/blackfin/mach-bf537/boards/tcm_bf537.c index 280574591201..e523e6e610d0 100644 --- a/arch/blackfin/mach-bf537/boards/tcm_bf537.c +++ b/arch/blackfin/mach-bf537/boards/tcm_bf537.c | |||
@@ -182,6 +182,11 @@ static struct resource bfin_spi0_resource[] = { | |||
182 | [1] = { | 182 | [1] = { |
183 | .start = CH_SPI, | 183 | .start = CH_SPI, |
184 | .end = CH_SPI, | 184 | .end = CH_SPI, |
185 | .flags = IORESOURCE_DMA, | ||
186 | }, | ||
187 | [2] = { | ||
188 | .start = IRQ_SPI, | ||
189 | .end = IRQ_SPI, | ||
185 | .flags = IORESOURCE_IRQ, | 190 | .flags = IORESOURCE_IRQ, |
186 | } | 191 | } |
187 | }; | 192 | }; |