From patchwork Thu Jun 14 10:26:46 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: rtc: twl: add missing IRQF_ONESHOT From: Felipe Balbi X-Patchwork-Id: 164884 Message-Id: <1339669606-9579-1-git-send-email-balbi@ti.com> To: a.zummo@towertech.it Cc: Linux Kernel Mailing List , rtc-linux@googlegroups.com, Felipe Balbi Date: Thu, 14 Jun 2012 13:26:46 +0300 This patch gets rid of the following warning: [ 2.825378] genirq: Threaded irq requested with \ handler=NULL and !ONESHOT for irq 363 Signed-off-by: Felipe Balbi --- drivers/rtc/rtc-twl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-twl.c b/drivers/rtc/rtc-twl.c index 258abea..c5d06fe 100644 --- a/drivers/rtc/rtc-twl.c +++ b/drivers/rtc/rtc-twl.c @@ -510,7 +510,7 @@ static int __devinit twl_rtc_probe(struct platform_device *pdev) } ret = request_threaded_irq(irq, NULL, twl_rtc_interrupt, - IRQF_TRIGGER_RISING, + IRQF_TRIGGER_RISING | IRQF_ONESHOT, dev_name(&rtc->dev), rtc); if (ret < 0) { dev_err(&pdev->dev, "IRQ is not free.\n");