aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc
diff options
context:
space:
mode:
authorGuan Xuetao <gxt@mprc.pku.edu.cn>2011-12-22 20:15:39 -0500
committerGuan Xuetao <gxt@mprc.pku.edu.cn>2012-01-09 21:29:41 -0500
commita9196b0bd3284fa3388998c9208a708a8f2e4c83 (patch)
tree8f0748ed290e842bb528c206b430e8f65d7ede13 /drivers/rtc
parent86abc23ed146522b276f63032574f358bcfe0392 (diff)
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')
-rw-r--r--drivers/rtc/rtc-puv3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/rtc/rtc-puv3.c b/drivers/rtc/rtc-puv3.c
index e4b6880aabd0..540ead3cb3c7 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)
164 int ret; 164 int ret;
165 165
166 ret = request_irq(puv3_rtc_alarmno, puv3_rtc_alarmirq, 166 ret = request_irq(puv3_rtc_alarmno, puv3_rtc_alarmirq,
167 IRQF_DISABLED, "pkunity-rtc alarm", rtc_dev); 167 0, "pkunity-rtc alarm", rtc_dev);
168 168
169 if (ret) { 169 if (ret) {
170 dev_err(dev, "IRQ%d error %d\n", puv3_rtc_alarmno, ret); 170 dev_err(dev, "IRQ%d error %d\n", puv3_rtc_alarmno, ret);
@@ -172,7 +172,7 @@ static int puv3_rtc_open(struct device *dev)
172 } 172 }
173 173
174 ret = request_irq(puv3_rtc_tickno, puv3_rtc_tickirq, 174 ret = request_irq(puv3_rtc_tickno, puv3_rtc_tickirq,
175 IRQF_DISABLED, "pkunity-rtc tick", rtc_dev); 175 0, "pkunity-rtc tick", rtc_dev);
176 176
177 if (ret) { 177 if (ret) {
178 dev_err(dev, "IRQ%d error %d\n", puv3_rtc_tickno, ret); 178 dev_err(dev, "IRQ%d error %d\n", puv3_rtc_tickno, ret);