From: Magnus Damm <damm@xxxxxxxxxxxxx> Update the KEYSC driver to make use of threaded IRQs with IRQF_ONESHOT. Also pass dev_name() as string for /proc/interrupts. Signed-off-by: Magnus Damm <damm@xxxxxxxxxxxxx> --- drivers/input/keyboard/sh_keysc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- 0011/drivers/input/keyboard/sh_keysc.c +++ work/drivers/input/keyboard/sh_keysc.c 2011-04-21 19:42:33.000000000 +0900 @@ -231,7 +231,8 @@ static int __devinit sh_keysc_probe(stru input->keycodesize = sizeof(pdata->keycodes[0]); input->keycodemax = ARRAY_SIZE(pdata->keycodes); - error = request_irq(irq, sh_keysc_isr, 0, pdev->name, pdev); + error = request_threaded_irq(irq, NULL, sh_keysc_isr, IRQF_ONESHOT, + dev_name(&pdev->dev), pdev); if (error) { dev_err(&pdev->dev, "failed to request IRQ\n"); goto err3; -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html