diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2007-02-14 03:33:16 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-14 11:09:54 -0500 |
commit | 38515e908ba3a9c467ad3bf347b9bce69216df94 (patch) | |
tree | 3bb0287ad4ea18d61cb3cad74337343ef5034b5d /drivers/rtc | |
parent | 3159f06dc2303630c02d1ad2eeaeaf341414c9df (diff) |
[PATCH] Scheduled removal of SA_xxx interrupt flags fixups
The obsolete SA_xxx interrupt flags have been used despite the scheduled
removal. Fixup the remaining users.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Ingo Molnar <mingo@elte.hu>
Cc: "Luck, Tony" <tony.luck@intel.com>
Cc: Roman Zippel <zippel@linux-m68k.org>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Jeff Garzik <jeff@garzik.org>
Cc: Wim Van Sebroeck <wim@iguana.be>
Cc: Roland Dreier <rolandd@cisco.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: James Bottomley <James.Bottomley@steeleye.com>
Cc: Greg KH <greg@kroah.com>
Cc: Dave Airlie <airlied@linux.ie>
Cc: James Simmons <jsimmons@infradead.org>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc')
-rw-r--r-- | drivers/rtc/rtc-omap.c | 4 | ||||
-rw-r--r-- | drivers/rtc/rtc-s3c.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/rtc/rtc-omap.c b/drivers/rtc/rtc-omap.c index d59880d44fba..9de8d67f4f8d 100644 --- a/drivers/rtc/rtc-omap.c +++ b/drivers/rtc/rtc-omap.c | |||
@@ -417,13 +417,13 @@ static int __devinit omap_rtc_probe(struct platform_device *pdev) | |||
417 | rtc_write(OMAP_RTC_STATUS_ALARM, OMAP_RTC_STATUS_REG); | 417 | rtc_write(OMAP_RTC_STATUS_ALARM, OMAP_RTC_STATUS_REG); |
418 | 418 | ||
419 | /* handle periodic and alarm irqs */ | 419 | /* handle periodic and alarm irqs */ |
420 | if (request_irq(omap_rtc_timer, rtc_irq, SA_INTERRUPT, | 420 | if (request_irq(omap_rtc_timer, rtc_irq, IRQF_DISABLED, |
421 | rtc->class_dev.class_id, &rtc->class_dev)) { | 421 | rtc->class_dev.class_id, &rtc->class_dev)) { |
422 | pr_debug("%s: RTC timer interrupt IRQ%d already claimed\n", | 422 | pr_debug("%s: RTC timer interrupt IRQ%d already claimed\n", |
423 | pdev->name, omap_rtc_timer); | 423 | pdev->name, omap_rtc_timer); |
424 | goto fail0; | 424 | goto fail0; |
425 | } | 425 | } |
426 | if (request_irq(omap_rtc_alarm, rtc_irq, SA_INTERRUPT, | 426 | if (request_irq(omap_rtc_alarm, rtc_irq, IRQF_DISABLED, |
427 | rtc->class_dev.class_id, &rtc->class_dev)) { | 427 | rtc->class_dev.class_id, &rtc->class_dev)) { |
428 | pr_debug("%s: RTC alarm interrupt IRQ%d already claimed\n", | 428 | pr_debug("%s: RTC alarm interrupt IRQ%d already claimed\n", |
429 | pdev->name, omap_rtc_alarm); | 429 | pdev->name, omap_rtc_alarm); |
diff --git a/drivers/rtc/rtc-s3c.c b/drivers/rtc/rtc-s3c.c index f406a2b55aea..9a79a24a7487 100644 --- a/drivers/rtc/rtc-s3c.c +++ b/drivers/rtc/rtc-s3c.c | |||
@@ -350,7 +350,7 @@ static int s3c_rtc_open(struct device *dev) | |||
350 | int ret; | 350 | int ret; |
351 | 351 | ||
352 | ret = request_irq(s3c_rtc_alarmno, s3c_rtc_alarmirq, | 352 | ret = request_irq(s3c_rtc_alarmno, s3c_rtc_alarmirq, |
353 | SA_INTERRUPT, "s3c2410-rtc alarm", rtc_dev); | 353 | IRQF_DISABLED, "s3c2410-rtc alarm", rtc_dev); |
354 | 354 | ||
355 | if (ret) { | 355 | if (ret) { |
356 | dev_err(dev, "IRQ%d error %d\n", s3c_rtc_alarmno, ret); | 356 | dev_err(dev, "IRQ%d error %d\n", s3c_rtc_alarmno, ret); |
@@ -358,7 +358,7 @@ static int s3c_rtc_open(struct device *dev) | |||
358 | } | 358 | } |
359 | 359 | ||
360 | ret = request_irq(s3c_rtc_tickno, s3c_rtc_tickirq, | 360 | ret = request_irq(s3c_rtc_tickno, s3c_rtc_tickirq, |
361 | SA_INTERRUPT, "s3c2410-rtc tick", rtc_dev); | 361 | IRQF_DISABLED, "s3c2410-rtc tick", rtc_dev); |
362 | 362 | ||
363 | if (ret) { | 363 | if (ret) { |
364 | dev_err(dev, "IRQ%d error %d\n", s3c_rtc_tickno, ret); | 364 | dev_err(dev, "IRQ%d error %d\n", s3c_rtc_tickno, ret); |