diff options
author | Guan Xuetao <gxt@mprc.pku.edu.cn> | 2011-12-23 01:15:39 (GMT) |
---|---|---|
committer | Guan Xuetao <gxt@mprc.pku.edu.cn> | 2012-01-10 02:29:41 (GMT) |
commit | a9196b0bd3284fa3388998c9208a708a8f2e4c83 (patch) | |
tree | 8f0748ed290e842bb528c206b430e8f65d7ede13 /drivers/rtc/rtc-puv3.c | |
parent | 86abc23ed146522b276f63032574f358bcfe0392 (diff) | |
download | linux-a9196b0bd3284fa3388998c9208a708a8f2e4c83.tar.xz |
rtc-puv3: irq: remove IRQF_DISABLED
This flag is deprecated, so is removed now.
Signed-off-by: Yong Zhang <yong.zhang@gmail.com>
Signed-off-by: Guan Xuetao <gxt@mprc.pku.edu.cn>
Diffstat (limited to 'drivers/rtc/rtc-puv3.c')
-rw-r--r-- | drivers/rtc/rtc-puv3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/rtc/rtc-puv3.c b/drivers/rtc/rtc-puv3.c index e4b6880..540ead3 100644 --- a/drivers/rtc/rtc-puv3.c +++ b/drivers/rtc/rtc-puv3.c @@ -164,7 +164,7 @@ static int puv3_rtc_open(struct device *dev) int ret; ret = request_irq(puv3_rtc_alarmno, puv3_rtc_alarmirq, - IRQF_DISABLED, "pkunity-rtc alarm", rtc_dev); + 0, "pkunity-rtc alarm", rtc_dev); if (ret) { dev_err(dev, "IRQ%d error %d\n", puv3_rtc_alarmno, ret); @@ -172,7 +172,7 @@ static int puv3_rtc_open(struct device *dev) } ret = request_irq(puv3_rtc_tickno, puv3_rtc_tickirq, - IRQF_DISABLED, "pkunity-rtc tick", rtc_dev); + 0, "pkunity-rtc tick", rtc_dev); if (ret) { dev_err(dev, "IRQ%d error %d\n", puv3_rtc_tickno, ret); |