sh: Disable get_dma_error_irq for non-SH4 targets.
authorNobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
Fri, 13 Mar 2009 04:31:34 +0000 (04:31 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 16 Mar 2009 10:49:01 +0000 (19:49 +0900)
commit02ebd32f52c10f90f810e85d0281e9e81dd6e741
tree71085fae4632e3ae013cf3b82631a27a3f04b8c5
parenta83c0b739f3ad1887704cfa9f1ee5ee208cf1532
sh: Disable get_dma_error_irq for non-SH4 targets.

dma-sh's get_dma_error_irq() is only used by SH4, as the SH3
doesn't have the DMA Error interrupt.

Disable it out for non-SH4 builds.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/drivers/dma/dma-sh.c