diff options
| author | Thomas Gleixner <tglx@linutronix.de> | 2010-02-17 12:27:37 -0500 |
|---|---|---|
| committer | Thomas Gleixner <tglx@linutronix.de> | 2010-02-17 12:28:05 -0500 |
| commit | b7e56edba4b02f2079042c326a8cd72a44635817 (patch) | |
| tree | b5042002e9747cd8fb1278d61f86d8b92a74c018 /drivers/rtc/rtc-ds1307.c | |
| parent | 13ca0fcaa33f6b1984c4111b6ec5df42689fea6f (diff) | |
| parent | b0483e78e5c4c9871fc5541875b3bc006846d46b (diff) | |
Merge branch 'linus' into x86/mm
x86/mm is on 32-rc4 and missing the spinlock namespace changes which
are needed for further commits into this topic.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/rtc/rtc-ds1307.c')
| -rw-r--r-- | drivers/rtc/rtc-ds1307.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-ds1307.c b/drivers/rtc/rtc-ds1307.c index eb99ee4fa0f5..c4ec5c158aa1 100644 --- a/drivers/rtc/rtc-ds1307.c +++ b/drivers/rtc/rtc-ds1307.c | |||
| @@ -874,13 +874,15 @@ read_rtc: | |||
| 874 | } | 874 | } |
| 875 | 875 | ||
| 876 | if (want_irq) { | 876 | if (want_irq) { |
| 877 | err = request_irq(client->irq, ds1307_irq, 0, | 877 | err = request_irq(client->irq, ds1307_irq, IRQF_SHARED, |
| 878 | ds1307->rtc->name, client); | 878 | ds1307->rtc->name, client); |
| 879 | if (err) { | 879 | if (err) { |
| 880 | dev_err(&client->dev, | 880 | dev_err(&client->dev, |
| 881 | "unable to request IRQ!\n"); | 881 | "unable to request IRQ!\n"); |
| 882 | goto exit_irq; | 882 | goto exit_irq; |
| 883 | } | 883 | } |
| 884 | |||
| 885 | device_set_wakeup_capable(&client->dev, 1); | ||
| 884 | set_bit(HAS_ALARM, &ds1307->flags); | 886 | set_bit(HAS_ALARM, &ds1307->flags); |
| 885 | dev_dbg(&client->dev, "got IRQ %d\n", client->irq); | 887 | dev_dbg(&client->dev, "got IRQ %d\n", client->irq); |
| 886 | } | 888 | } |
