* [PATCH] staging: alarm-dev: Support to Compile as Module
@ 2014-06-12 10:38 pramod.gurav.etc
2014-06-12 16:55 ` Greg Kroah-Hartman
0 siblings, 1 reply; 3+ messages in thread
From: pramod.gurav.etc @ 2014-06-12 10:38 UTC (permalink / raw)
To: linux-kernel; +Cc: Pramod Gurav, Greg Kroah-Hartman, Brian Swetland
From: Pramod Gurav <pramod.gurav.etc@gmail.com>
Currently this alarm-dev can be compiles only as built in
driver. This adds support to compile it as module as well.
This has dependancy on:
https://lkml.org/lkml/2014/6/12/180
which exports symbol of alarmtimer function.
CC: Greg Kroah-Hartman <greg@kroah.com>
CC: Brian Swetland <swetland@google.com>
Signed-off-by: Pramod Gurav <pramod.gurav.etc@gmail.com>
---
drivers/staging/android/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/android/Kconfig b/drivers/staging/android/Kconfig
index 99e484f..c359317 100644
--- a/drivers/staging/android/Kconfig
+++ b/drivers/staging/android/Kconfig
@@ -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---
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] staging: alarm-dev: Support to Compile as Module
2014-06-12 10:38 [PATCH] staging: alarm-dev: Support to Compile as Module pramod.gurav.etc
@ 2014-06-12 16:55 ` Greg Kroah-Hartman
2014-06-12 16:58 ` pramod gurav
0 siblings, 1 reply; 3+ messages in thread
From: Greg Kroah-Hartman @ 2014-06-12 16:55 UTC (permalink / raw)
To: pramod.gurav.etc; +Cc: linux-kernel, Brian Swetland
On Thu, Jun 12, 2014 at 04:08:15PM +0530, pramod.gurav.etc@gmail.com wrote:
> From: Pramod Gurav <pramod.gurav.etc@gmail.com>
>
> Currently this alarm-dev can be compiles only as built in
> driver. This adds support to compile it as module as well.
> This has dependancy on:
> https://lkml.org/lkml/2014/6/12/180
>
> which exports symbol of alarmtimer function.
>
> CC: Greg Kroah-Hartman <greg@kroah.com>
> CC: Brian Swetland <swetland@google.com>
> Signed-off-by: Pramod Gurav <pramod.gurav.etc@gmail.com>
> ---
> drivers/staging/android/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/android/Kconfig b/drivers/staging/android/Kconfig
> index 99e484f..c359317 100644
> --- a/drivers/staging/android/Kconfig
> +++ b/drivers/staging/android/Kconfig
> @@ -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---
Please resend the first patch (it's not a "trivial one") as part of this
patch series.
And do you ever really want this code as a module? What will auto-load
it if needed?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] staging: alarm-dev: Support to Compile as Module
2014-06-12 16:55 ` Greg Kroah-Hartman
@ 2014-06-12 16:58 ` pramod gurav
0 siblings, 0 replies; 3+ messages in thread
From: pramod gurav @ 2014-06-12 16:58 UTC (permalink / raw)
To: Greg Kroah-Hartman; +Cc: linux-kernel, Brian Swetland
On Thu, Jun 12, 2014 at 10:25 PM, Greg Kroah-Hartman <greg@kroah.com> wrote:
> On Thu, Jun 12, 2014 at 04:08:15PM +0530, pramod.gurav.etc@gmail.com wrote:
>> From: Pramod Gurav <pramod.gurav.etc@gmail.com>
>>
>> Currently this alarm-dev can be compiles only as built in
>> driver. This adds support to compile it as module as well.
>> This has dependancy on:
>> https://lkml.org/lkml/2014/6/12/180
>>
>> which exports symbol of alarmtimer function.
>>
>> CC: Greg Kroah-Hartman <greg@kroah.com>
>> CC: Brian Swetland <swetland@google.com>
>> Signed-off-by: Pramod Gurav <pramod.gurav.etc@gmail.com>
>> ---
>> drivers/staging/android/Kconfig | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/staging/android/Kconfig b/drivers/staging/android/Kconfig
>> index 99e484f..c359317 100644
>> --- a/drivers/staging/android/Kconfig
>> +++ b/drivers/staging/android/Kconfig
>> @@ -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---
>
> Please resend the first patch (it's not a "trivial one") as part of this
> patch series.
>
Sure, Greg. will resend it.
> And do you ever really want this code as a module? What will auto-load
> it if needed?
>
The TODO of staging/android/ says 'make sure they all build well as
modules'. So thought of build testing it. It failed and tried to fix
it.
> thanks,
>
> greg k-h
--
Thanks and Regards
Pramod
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-06-12 16:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-12 10:38 [PATCH] staging: alarm-dev: Support to Compile as Module pramod.gurav.etc
2014-06-12 16:55 ` Greg Kroah-Hartman
2014-06-12 16:58 ` pramod gurav
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.