diff options
Diffstat (limited to 'arch/sh/drivers/dma/dma-sh.c')
-rw-r--r-- | arch/sh/drivers/dma/dma-sh.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/drivers/dma/dma-sh.c b/arch/sh/drivers/dma/dma-sh.c index ab7b18dcbaba..31c2930f2f54 100644 --- a/arch/sh/drivers/dma/dma-sh.c +++ b/arch/sh/drivers/dma/dma-sh.c | |||
@@ -280,6 +280,7 @@ static struct dma_info sh_dmac_info = { | |||
280 | .flags = DMAC_CHANNELS_TEI_CAPABLE, | 280 | .flags = DMAC_CHANNELS_TEI_CAPABLE, |
281 | }; | 281 | }; |
282 | 282 | ||
283 | #ifdef CONFIG_CPU_SH4 | ||
283 | static unsigned int get_dma_error_irq(int n) | 284 | static unsigned int get_dma_error_irq(int n) |
284 | { | 285 | { |
285 | #if defined(DMAC_IRQ_MULTI) | 286 | #if defined(DMAC_IRQ_MULTI) |
@@ -293,6 +294,7 @@ static unsigned int get_dma_error_irq(int n) | |||
293 | #endif | 294 | #endif |
294 | #endif | 295 | #endif |
295 | } | 296 | } |
297 | #endif | ||
296 | 298 | ||
297 | static int __init sh_dmac_init(void) | 299 | static int __init sh_dmac_init(void) |
298 | { | 300 | { |