aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-at91.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/rtc-at91.c')
-rw-r--r--drivers/rtc/rtc-at91.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/rtc/rtc-at91.c b/drivers/rtc/rtc-at91.c
index c0714da44920..5c8addcaf1fb 100644
--- a/drivers/rtc/rtc-at91.c
+++ b/drivers/rtc/rtc-at91.c
@@ -238,8 +238,7 @@ static int at91_rtc_proc(struct device *dev, struct seq_file *seq)
238/* 238/*
239 * IRQ handler for the RTC 239 * IRQ handler for the RTC
240 */ 240 */
241static irqreturn_t at91_rtc_interrupt(int irq, void *dev_id, 241static irqreturn_t at91_rtc_interrupt(int irq, void *dev_id)
242 struct pt_regs *regs)
243{ 242{
244 struct platform_device *pdev = dev_id; 243 struct platform_device *pdev = dev_id;
245 struct rtc_device *rtc = platform_get_drvdata(pdev); 244 struct rtc_device *rtc = platform_get_drvdata(pdev);
@@ -293,7 +292,8 @@ static int __init at91_rtc_probe(struct platform_device *pdev)
293 AT91_RTC_CALEV); 292 AT91_RTC_CALEV);
294 293
295 ret = request_irq(AT91_ID_SYS, at91_rtc_interrupt, 294 ret = request_irq(AT91_ID_SYS, at91_rtc_interrupt,
296 IRQF_SHARED, "at91_rtc", pdev); 295 IRQF_DISABLED | IRQF_SHARED,
296 "at91_rtc", pdev);
297 if (ret) { 297 if (ret) {
298 printk(KERN_ERR "at91_rtc: IRQ %d already in use.\n", 298 printk(KERN_ERR "at91_rtc: IRQ %d already in use.\n",
299 AT91_ID_SYS); 299 AT91_ID_SYS);