Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fd86b2d4 authored by YueHaibing's avatar YueHaibing Committed by Alexandre Belloni
Browse files

rtc: opal: Make opal_tpo_alarm_irq_enable static



Fix sparse warning:

drivers/rtc/rtc-opal.c:227:5:
 warning: symbol 'opal_tpo_alarm_irq_enable' was not declared. Should it be static?

Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent d3062d1d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -224,7 +224,7 @@ static int opal_set_tpo_time(struct device *dev, struct rtc_wkalrm *alarm)
	return rc;
}

int opal_tpo_alarm_irq_enable(struct device *dev, unsigned int enabled)
static int opal_tpo_alarm_irq_enable(struct device *dev, unsigned int enabled)
{
	struct rtc_wkalrm alarm = { .enabled = 0 };