Commit 1d22cdab authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Sasha Levin

rtc: vr41xx: Wire up alarm_irq_enable

[ Upstream commit a25f4a95 ]

drivers/rtc/rtc-vr41xx.c:229: warning: ‘vr41xx_rtc_alarm_irq_enable’ defined but not used

Apparently the conversion to alarm_irq_enable forgot to wire up the
callback.

Fixes: 16380c15 ("RTC: Convert rtc drivers to use the alarm_irq_enable method")
Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: default avatarSasha Levin <sasha.levin@oracle.com>
parent aa9d9e96
...@@ -272,12 +272,13 @@ static irqreturn_t rtclong1_interrupt(int irq, void *dev_id) ...@@ -272,12 +272,13 @@ static irqreturn_t rtclong1_interrupt(int irq, void *dev_id)
} }
static const struct rtc_class_ops vr41xx_rtc_ops = { static const struct rtc_class_ops vr41xx_rtc_ops = {
.release = vr41xx_rtc_release, .release = vr41xx_rtc_release,
.ioctl = vr41xx_rtc_ioctl, .ioctl = vr41xx_rtc_ioctl,
.read_time = vr41xx_rtc_read_time, .read_time = vr41xx_rtc_read_time,
.set_time = vr41xx_rtc_set_time, .set_time = vr41xx_rtc_set_time,
.read_alarm = vr41xx_rtc_read_alarm, .read_alarm = vr41xx_rtc_read_alarm,
.set_alarm = vr41xx_rtc_set_alarm, .set_alarm = vr41xx_rtc_set_alarm,
.alarm_irq_enable = vr41xx_rtc_alarm_irq_enable,
}; };
static int rtc_probe(struct platform_device *pdev) static int rtc_probe(struct platform_device *pdev)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment