diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-03-19 23:25:31 +0800 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-04-04 10:07:10 +0200 |
commit | fd86b2d4bbfc66a42af51677a72254d304d79c99 (patch) | |
tree | 5b584b3009c6879d673ae57a80b06be25c383448 /drivers/rtc/rtc-opal.c | |
parent | d3062d1d7415cb5a37777220357aca51a491c3d7 (diff) | |
download | linux-fd86b2d4bbfc66a42af51677a72254d304d79c99.tar.gz linux-fd86b2d4bbfc66a42af51677a72254d304d79c99.tar.bz2 linux-fd86b2d4bbfc66a42af51677a72254d304d79c99.zip |
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: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-opal.c')
-rw-r--r-- | drivers/rtc/rtc-opal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-opal.c b/drivers/rtc/rtc-opal.c index 60f2250fd96b..3dd9d266ce09 100644 --- a/drivers/rtc/rtc-opal.c +++ b/drivers/rtc/rtc-opal.c @@ -224,7 +224,7 @@ exit: 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 }; |