Blackfin: bf538-ezkit: add SPI IRQ resources
authorBarry Song <barry.song@analog.com>
Thu, 10 Sep 2009 04:32:47 +0000 (04:32 +0000)
committerMike Frysinger <vapier@gentoo.org>
Thu, 17 Sep 2009 02:10:43 +0000 (22:10 -0400)
Signed-off-by: Barry Song <barry.song@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/mach-bf538/boards/ezkit.c

index 9113f60..f2ac3b0 100644 (file)
@@ -402,6 +402,11 @@ static struct resource bfin_spi2_resource[] = {
        [1] = {
                .start = CH_SPI2,
                .end   = CH_SPI2,
+               .flags = IORESOURCE_DMA,
+       },
+       [2] = {
+               .start = IRQ_SPI2,
+               .end   = IRQ_SPI2,
                .flags = IORESOURCE_IRQ,
        }
 };