summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPramod Gurav <pramod.gurav.etc@gmail.com>2014-06-13 10:19:42 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-06-20 04:30:57 +0400
commit71d5d2b7229dc6a7ec0168076096c847b2bb2f48 (patch)
treec1333b0e3e7e990661d9e0f13e01169bc1916205
parentf9d01751e7878c23a71f99bffd1688b9da72edf8 (diff)
downloadlinux-71d5d2b7229dc6a7ec0168076096c847b2bb2f48.tar.xz
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 <john.stultz@linaro.org> CC: Marcus Gelderie <redmnic@gmail.com> Signed-off-by: Pramod Gurav <pramod.gurav.etc@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--kernel/time/alarmtimer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/time/alarmtimer.c b/kernel/time/alarmtimer.c
index 88c9c65a430d..a53ba0ba6a1b 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)