[PATCH v2 1/2] alarmtimer: Export symbols of alarmtimer_get_rtcdev
From: pramod . gurav . etc
Date: Fri Jun 13 2014 - 02:16:00 EST
From: Pramod Gurav <pramod.gurav.etc@xxxxxxxxx>
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@xxxxxxxxxx>
CC: Marcus Gelderie <redmnic@xxxxxxxxx>
CC: Greg Kroah-Hartman <greg@xxxxxxxxx>
Signed-off-by: Pramod Gurav <pramod.gurav.etc@xxxxxxxxx>
---
This Export was missing in Marcus's below patch:
https://lkml.org/lkml/2013/6/1/144
Changes since v1:
-Removed trivial list from CC
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/