Commit 819c2178 authored by Alexandre Belloni's avatar Alexandre Belloni

rtc: jz4740: remove unused EXPORT_SYMBOL

jz4740_rtc_poweroff() is only called from the driver, stop exporting it.
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
parent 8e9e3f5b
...@@ -252,12 +252,11 @@ static irqreturn_t jz4740_rtc_irq(int irq, void *data) ...@@ -252,12 +252,11 @@ static irqreturn_t jz4740_rtc_irq(int irq, void *data)
return IRQ_HANDLED; return IRQ_HANDLED;
} }
void jz4740_rtc_poweroff(struct device *dev) static void jz4740_rtc_poweroff(struct device *dev)
{ {
struct jz4740_rtc *rtc = dev_get_drvdata(dev); struct jz4740_rtc *rtc = dev_get_drvdata(dev);
jz4740_rtc_reg_write(rtc, JZ_REG_RTC_HIBERNATE, 1); jz4740_rtc_reg_write(rtc, JZ_REG_RTC_HIBERNATE, 1);
} }
EXPORT_SYMBOL_GPL(jz4740_rtc_poweroff);
static void jz4740_rtc_power_off(void) static void jz4740_rtc_power_off(void)
{ {
......
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