rtc: unexport rtc_irq_set_*
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 25 Jul 2018 14:19:41 +0000 (16:19 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 26 Jul 2018 13:08:53 +0000 (15:08 +0200)
Make the rtc_irq_set interface internale to the RTC subsystem.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/interface.c

index 76eb3a2..d0983ed 100644 (file)
@@ -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