@@ -107,8 +107,8 @@ extern int rtc_year_days(unsigned int day, unsigned int month, unsigned int year
extern int rtc_valid_tm(const struct rtc_time *tm);
extern int rtc_tm_to_time(const struct rtc_time *tm, unsigned long *time);
extern void rtc_time_to_tm(unsigned long time, struct rtc_time *tm);
-ktime_t rtc_tm_to_ktime(struct rtc_time tm);
-struct rtc_time rtc_ktime_to_tm(ktime_t kt);
+extern ktime_t rtc_tm_to_ktime(struct rtc_time tm);
+extern struct rtc_time rtc_ktime_to_tm(ktime_t kt);
#include <linux/device.h>