Re: [PATCH v2 2/2] staging: alarm-dev: Support to Compile as Module

From: Greg Kroah-Hartman
Date: Thu Jun 19 2014 - 20:28:00 EST


On Fri, Jun 13, 2014 at 11:49:43AM +0530, pramod.gurav.etc@xxxxxxxxx wrote:
> From: Pramod Gurav <pramod.gurav.etc@xxxxxxxxx>
>
> 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 <greg@xxxxxxxxx>
> CC: Brian Swetland <swetland@xxxxxxxxxx>
> Signed-off-by: Pramod Gurav <pramod.gurav.etc@xxxxxxxxx>
> ---
> 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---

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
--
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/