summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf537
diff options
context:
space:
mode:
authorYi Li <yi.li@analog.com>2009-06-03 11:46:22 +0200
committerMike Frysinger <vapier@gentoo.org>2009-09-17 03:28:24 +0200
commite68d1ebc30e033612bb69f949da654d72beae57d (patch)
treeeafce86830631909cb9de7cbfdb21873634aa5ac /arch/blackfin/mach-bf537
parentBlackfin: bf537-stamp: update ADP5588 header name (diff)
downloadlinux-e68d1ebc30e033612bb69f949da654d72beae57d.tar.xz
linux-e68d1ebc30e033612bb69f949da654d72beae57d.zip
Blackfin: bf537-stamp: declare SPI IRQ 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')
-rw-r--r--arch/blackfin/mach-bf537/boards/stamp.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c
index b8e8c92f6b9c..d619313b1a71 100644
--- a/arch/blackfin/mach-bf537/boards/stamp.c
+++ b/arch/blackfin/mach-bf537/boards/stamp.c
@@ -555,6 +555,7 @@ static struct mmc_spi_platform_data bfin_mmc_spi_pdata = {
static struct bfin5xx_spi_chip mmc_spi_chip_info = {
.enable_dma = 0,
.bits_per_word = 8,
+ .pio_interrupt = 0,
};
#endif
@@ -864,6 +865,11 @@ static struct resource bfin_spi0_resource[] = {
[1] = {
.start = CH_SPI,
.end = CH_SPI,
+ .flags = IORESOURCE_DMA,
+ },
+ [2] = {
+ .start = IRQ_SPI,
+ .end = IRQ_SPI,
.flags = IORESOURCE_IRQ,
},
};