From: Finn Thain Date: Mon, 18 Jul 2011 09:44:17 +0000 (+1000) Subject: m68k/mac: Fix mac_irq_pending() for PSC MACE and SCC X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8b223432f76acc13898b8874f55d5292da573d8e;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git m68k/mac: Fix mac_irq_pending() for PSC MACE and SCC Add missing return statement. The docs say that the level 4 PSC IRQs relate to MACE DMA and SCC. Since those drivers don't call mac_irq_pending() this patch has no affect. But it should be fixed all the same, since it can be useful for MACE debugging. Signed-off-by: Finn Thain Signed-off-by: Geert Uytterhoeven --- diff --git a/arch/m68k/mac/macints.c b/arch/m68k/mac/macints.c index 900d899f3323..f92190c159b4 100644 --- a/arch/m68k/mac/macints.c +++ b/arch/m68k/mac/macints.c @@ -370,7 +370,7 @@ int mac_irq_pending(unsigned int irq) break; case 4: if (psc_present) - psc_irq_pending(irq); + return psc_irq_pending(irq); break; } return 0;