]> Pileus Git - ~andy/linux/blobdiff - kernel/time/alarmtimer.c
alarmtimer: Provide accessor to alarmtimer rtc device
[~andy/linux] / kernel / time / alarmtimer.c
index 8a538c55fc7be401031dc5b2bf5a072dd5a03a0b..aa27d391bfc8b408ced23985bc4946067b5eba87 100644 (file)
@@ -59,7 +59,7 @@ static DEFINE_SPINLOCK(rtcdev_lock);
  * If one has not already been chosen, it checks to see if a
  * functional rtc device is available.
  */
-static struct rtc_device *alarmtimer_get_rtcdev(void)
+struct rtc_device *alarmtimer_get_rtcdev(void)
 {
        unsigned long flags;
        struct rtc_device *ret;
@@ -115,7 +115,7 @@ static void alarmtimer_rtc_interface_remove(void)
        class_interface_unregister(&alarmtimer_rtc_interface);
 }
 #else
-static inline struct rtc_device *alarmtimer_get_rtcdev(void)
+struct rtc_device *alarmtimer_get_rtcdev(void)
 {
        return NULL;
 }