|
@@ -443,7 +443,7 @@ static bool sh_dmae_reset(struct sh_dmae_device *shdev)
|
|
|
return ret;
|
|
|
}
|
|
|
|
|
|
-#if defined(CONFIG_CPU_SH4) || defined(CONFIG_ARM)
|
|
|
+#if defined(CONFIG_CPU_SH4) || defined(CONFIG_ARCH_SHMOBILE)
|
|
|
static irqreturn_t sh_dmae_err(int irq, void *data)
|
|
|
{
|
|
|
struct sh_dmae_device *shdev = data;
|
|
@@ -689,7 +689,7 @@ static int sh_dmae_probe(struct platform_device *pdev)
|
|
|
const struct sh_dmae_pdata *pdata;
|
|
|
unsigned long chan_flag[SH_DMAE_MAX_CHANNELS] = {};
|
|
|
int chan_irq[SH_DMAE_MAX_CHANNELS];
|
|
|
-#if defined(CONFIG_CPU_SH4) || defined(CONFIG_ARM)
|
|
|
+#if defined(CONFIG_CPU_SH4) || defined(CONFIG_ARCH_SHMOBILE)
|
|
|
unsigned long irqflags = 0;
|
|
|
int errirq;
|
|
|
#endif
|