mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
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>
This commit is contained in:
parent
d3062d1d74
commit
fd86b2d4bb
1 changed files with 1 additions and 1 deletions
|
@ -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 };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue