From 8b223432f76acc13898b8874f55d5292da573d8e Mon Sep 17 00:00:00 2001 From: Finn Thain Date: Mon, 18 Jul 2011 19:44:17 +1000 Subject: 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 --- arch/m68k/mac/macints.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/m68k') diff --git a/arch/m68k/mac/macints.c b/arch/m68k/mac/macints.c index 900d899f332..f92190c159b 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; -- cgit v1.2.3-70-g09d2