[PATCH] alarmtimer: Export symbols of alarmtimer_get_rtcdev

From: pramod . gurav . etc
Date: Thu Jun 12 2014 - 06:03:07 EST


From: Pramod Gurav <pramod.gurav@xxxxxxxxxxxxxxx>

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
This Export was missing in Marcus's below patch:

https://lkml.org/lkml/2013/6/1/144

CC: trivial@xxxxxxxxxx
CC: John Stultz <john.stultz@xxxxxxxxxx>
CC: Marcus Gelderie <redmnic@xxxxxxxxx>
Signed-off-by: Pramod Gurav <pramod.gurav.etc@xxxxxxxxx>
---
kernel/time/alarmtimer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

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)
--
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/