summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/interface.c
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2018-07-25 16:19:41 +0200
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2018-07-26 15:08:53 +0200
commitc842697c741e9dbf825e07d4c2724685d6464bd0 (patch)
treec73cf765c696ec738e93a23f38cf6b6ea0226333 /drivers/rtc/interface.c
parentrtc: simplify rtc_irq_set_state/rtc_irq_set_freq (diff)
downloadlinux-c842697c741e9dbf825e07d4c2724685d6464bd0.tar.xz
linux-c842697c741e9dbf825e07d4c2724685d6464bd0.zip
rtc: unexport rtc_irq_set_*
Make the rtc_irq_set interface internale to the RTC subsystem. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/interface.c')
-rw-r--r--drivers/rtc/interface.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/rtc/interface.c b/drivers/rtc/interface.c
index 76eb3a2957cc..d0983ed6c842 100644
--- a/drivers/rtc/interface.c
+++ b/drivers/rtc/interface.c
@@ -758,7 +758,6 @@ int rtc_irq_set_state(struct rtc_device *rtc, int enabled)
trace_rtc_irq_set_state(enabled, err);
return err;
}
-EXPORT_SYMBOL_GPL(rtc_irq_set_state);
/**
* rtc_irq_set_freq - set 2^N Hz periodic IRQ frequency for IRQ
@@ -784,7 +783,6 @@ int rtc_irq_set_freq(struct rtc_device *rtc, int freq)
trace_rtc_irq_set_freq(freq, err);
return err;
}
-EXPORT_SYMBOL_GPL(rtc_irq_set_freq);
/**
* rtc_timer_enqueue - Adds a rtc_timer to the rtc_device timerqueue