mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-08 11:45:53 -05:00
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 <[email protected]> Signed-off-by: Paul Mundt <[email protected]>
This commit is contained in:
parent
a83c0b739f
commit
02ebd32f52
1 changed files with 2 additions and 0 deletions
|
|
@ -280,6 +280,7 @@ static struct dma_info sh_dmac_info = {
|
|||
.flags = DMAC_CHANNELS_TEI_CAPABLE,
|
||||
};
|
||||
|
||||
#ifdef CONFIG_CPU_SH4
|
||||
static unsigned int get_dma_error_irq(int n)
|
||||
{
|
||||
#if defined(DMAC_IRQ_MULTI)
|
||||
|
|
@ -293,6 +294,7 @@ static unsigned int get_dma_error_irq(int n)
|
|||
#endif
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
static int __init sh_dmac_init(void)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue