summaryrefslogtreecommitdiffstats
path: root/drivers/rtc
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-11-08 22:20:37 +0100
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-11-08 22:23:54 +0100
commit819c21785b498d38fbbe361458dc2f05d943cc46 (patch)
treefbdd792779879ecbd11857899800356fe93bf7e3 /drivers/rtc
parent8e9e3f5ba9ec1ea9bcfc6a87b9247c7bb41a4178 (diff)
downloadop-kernel-dev-819c21785b498d38fbbe361458dc2f05d943cc46.zip
op-kernel-dev-819c21785b498d38fbbe361458dc2f05d943cc46.tar.gz
rtc: jz4740: remove unused EXPORT_SYMBOL
jz4740_rtc_poweroff() is only called from the driver, stop exporting it. Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/rtc')
-rw-r--r--drivers/rtc/rtc-jz4740.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/rtc/rtc-jz4740.c b/drivers/rtc/rtc-jz4740.c
index 33ccd73..18feae6 100644
--- a/drivers/rtc/rtc-jz4740.c
+++ b/drivers/rtc/rtc-jz4740.c
@@ -252,12 +252,11 @@ static irqreturn_t jz4740_rtc_irq(int irq, void *data)
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);
jz4740_rtc_reg_write(rtc, JZ_REG_RTC_HIBERNATE, 1);
}
-EXPORT_SYMBOL_GPL(jz4740_rtc_poweroff);
static void jz4740_rtc_power_off(void)
{
OpenPOWER on IntegriCloud