alarmtimer: Export symbols of alarmtimer_get_rtcdev
Subsystems (2)
PATCH v2 1/2 alarmtimer: Export symbols of alarmtimer_get_rtcdev
From: Pramod Gurav <[email protected]>
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
Changes since v1:
-Removed trivial list from CC
kernel/time/alarmtimer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/time/alarmtimer.c +1 -1
@@ -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)
Signature · 1 line
1.7.9.5
PATCH v2 2/2 staging: alarm-dev: Support to Compile as Module
From: Pramod Gurav <[email protected]>
Currently this alarm-dev can be compiles only as built in driver. This adds support to compile it as module as well which is in planned activity (See drivers/staging/android/TODO)
--- drivers/staging/android/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/android/Kconfig +1 -1
@@ -76,7 +76,7 @@ config ANDROID_LOW_MEMORY_KILLER Registers processes to be killed when memory is low config ANDROID_INTF_ALARM_DEV - bool "Android alarm driver" + tristate "Android alarm driver" depends on RTC_CLASS default n ---help---
Signature · 1 line
1.7.9.5
Re: [PATCH v2 2/2] staging: alarm-dev: Support to Compile as Module
Quoted 19 lines · On Fri, Jun 13, 2014 at 11:49:43AM +0530, [email protected] wrote:
From: Pramod Gurav <[email protected]>
Currently this alarm-dev can be compiles only as built in driver. This adds support to compile it as module as well which is in planned activity (See
drivers/staging/android/TODO)CC Greg Kroah-Hartman <[email protected]>CC Brian Swetland <[email protected]>Signed-off-by Pramod Gurav <[email protected]>--- drivers/staging/android/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/staging/android/Kconfig +0
-0
drivers/staging/android/Kconfig config ANDROID_LOW_MEMORY_KILLER · line 82
Quoted 8 lines
drivers/staging/android/Kconfig +1
-1@@ -76,7 +76,7 @@ config ANDROID_LOW_MEMORY_KILLER Registers processes to be killed when memory is low config ANDROID_INTF_ALARM_DEV - bool "Android alarm driver" + tristate "Android alarm driver" depends on RTC_CLASS default n ---help---
With this change you will get a warning about a missing MODULE_LICENSE(), can you please send a follow-on patch to fix that?
thanks,
greg k-h