diff options
| -rw-r--r-- | drivers/dma/sh/shdmac.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dma/sh/shdmac.c b/drivers/dma/sh/shdmac.c index b2431aa30033..1858259f3be4 100644 --- a/drivers/dma/sh/shdmac.c +++ b/drivers/dma/sh/shdmac.c | |||
| @@ -443,7 +443,7 @@ static bool sh_dmae_reset(struct sh_dmae_device *shdev) | |||
| 443 | return ret; | 443 | return ret; |
| 444 | } | 444 | } |
| 445 | 445 | ||
| 446 | #if defined(CONFIG_CPU_SH4) || defined(CONFIG_ARM) | 446 | #if defined(CONFIG_CPU_SH4) || defined(CONFIG_ARCH_SHMOBILE) |
| 447 | static irqreturn_t sh_dmae_err(int irq, void *data) | 447 | static irqreturn_t sh_dmae_err(int irq, void *data) |
| 448 | { | 448 | { |
| 449 | struct sh_dmae_device *shdev = data; | 449 | struct sh_dmae_device *shdev = data; |
| @@ -689,7 +689,7 @@ static int sh_dmae_probe(struct platform_device *pdev) | |||
| 689 | const struct sh_dmae_pdata *pdata; | 689 | const struct sh_dmae_pdata *pdata; |
| 690 | unsigned long chan_flag[SH_DMAE_MAX_CHANNELS] = {}; | 690 | unsigned long chan_flag[SH_DMAE_MAX_CHANNELS] = {}; |
| 691 | int chan_irq[SH_DMAE_MAX_CHANNELS]; | 691 | int chan_irq[SH_DMAE_MAX_CHANNELS]; |
| 692 | #if defined(CONFIG_CPU_SH4) || defined(CONFIG_ARM) | 692 | #if defined(CONFIG_CPU_SH4) || defined(CONFIG_ARCH_SHMOBILE) |
| 693 | unsigned long irqflags = 0; | 693 | unsigned long irqflags = 0; |
| 694 | int errirq; | 694 | int errirq; |
| 695 | #endif | 695 | #endif |
