Message ID | 1433391238-19471-25-git-send-email-jiang.liu@linux.intel.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
diff --git a/arch/m68k/mac/psc.c b/arch/m68k/mac/psc.c index 835fa04511c8..ea7651a7908b 100644 --- a/arch/m68k/mac/psc.c +++ b/arch/m68k/mac/psc.c @@ -113,8 +113,9 @@ void __init psc_init(void) * PSC interrupt handler. It's a lot like the VIA interrupt handler. */ -static void psc_irq(unsigned int irq, struct irq_desc *desc) +static void psc_irq(unsigned int __irq, struct irq_desc *desc) { + unsigned int irq = irq_desc_get_irq(desc); unsigned int offset = (unsigned int)irq_desc_get_handler_data(desc); int pIFR = pIFRbase + offset; int pIER = pIERbase + offset;
Change irq flow handler to prepare for killing the first parameter 'irq' of irq_flow_handler_t. Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com> --- arch/m68k/mac/psc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)