diff mbox

sh: fix INTC to use set_irq_chained_handler() for redirects

Message ID 20100209071720.3947.94798.sendpatchset@rxone.opensource.se (mailing list archive)
State Accepted
Headers show

Commit Message

Magnus Damm Feb. 9, 2010, 7:17 a.m. UTC
None
diff mbox

Patch

--- 0003/drivers/sh/intc.c
+++ work/drivers/sh/intc.c	2010-02-09 16:06:13.000000000 +0900
@@ -896,8 +896,8 @@  void __init register_intc_controller(str
 			vect2->enum_id = 0;
 
 			/* redirect this interrupts to the first one */
-			set_irq_chip_and_handler_name(irq2, &d->chip,
-					intc_redirect_irq, "redirect");
+			set_irq_chained_handler(irq2, intc_redirect_irq);
+			set_irq_chip(irq2, &d->chip);
 			set_irq_data(irq2, (void *)irq);
 		}
 	}