diff options
author | Guan Xuetao <gxt@mprc.pku.edu.cn> | 2011-12-23 02:15:39 +0100 |
---|---|---|
committer | Guan Xuetao <gxt@mprc.pku.edu.cn> | 2012-01-10 03:29:41 +0100 |
commit | a9196b0bd3284fa3388998c9208a708a8f2e4c83 (patch) | |
tree | 8f0748ed290e842bb528c206b430e8f65d7ede13 /drivers/rtc | |
parent | unicore32: Remove IRQF_DISABLED (diff) | |
download | linux-a9196b0bd3284fa3388998c9208a708a8f2e4c83.tar.xz linux-a9196b0bd3284fa3388998c9208a708a8f2e4c83.zip |
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.c | 4 |
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) 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); |