From: Pramod Gurav Date: Fri, 13 Jun 2014 06:19:42 +0000 (+0530) Subject: alarmtimer: Export symbols of alarmtimer_get_rtcdev X-Git-Tag: v5.15~17495^2~1675 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=71d5d2b7229dc6a7ec0168076096c847b2bb2f48;p=platform%2Fkernel%2Flinux-starfive.git alarmtimer: Export symbols of alarmtimer_get_rtcdev Export symbol of alarmtimer_get_rtcdev so that it is used by any driver when built as module like, drivers/staging/android/alarm-dev.c. CC: John Stultz CC: Marcus Gelderie Signed-off-by: Pramod Gurav Signed-off-by: Greg Kroah-Hartman --- diff --git a/kernel/time/alarmtimer.c b/kernel/time/alarmtimer.c index 88c9c65..a53ba0b 100644 --- a/kernel/time/alarmtimer.c +++ b/kernel/time/alarmtimer.c @@ -71,7 +71,7 @@ struct rtc_device *alarmtimer_get_rtcdev(void) return ret; } - +EXPORT_SYMBOL_GPL(alarmtimer_get_rtcdev); static int alarmtimer_rtc_add_device(struct device *dev, struct class_interface *class_intf)