Re: [PATCH] extcon: adc-jack: Add missing MODULE_LICENSE
From: anish kumar
Date: Sun Sep 30 2012 - 00:07:58 EST
On Fri, 2012-09-28 at 08:33 +0800, Axel Lin wrote:
> This driver can be built as a module, add MODULE_LICENSE for it.
> For completeness, also adds MODULE_AUTHOR and MODULE_DESCRIPTION.
Aha I forgot that.Good one.
>
> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxxx>
> ---
> drivers/extcon/extcon-adc-jack.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/drivers/extcon/extcon-adc-jack.c b/drivers/extcon/extcon-adc-jack.c
> index 2cc6bec..e87196f 100644
> --- a/drivers/extcon/extcon-adc-jack.c
> +++ b/drivers/extcon/extcon-adc-jack.c
> @@ -14,6 +14,7 @@
> *
> */
>
> +#include <linux/module.h>
> #include <linux/slab.h>
> #include <linux/device.h>
> #include <linux/platform_device.h>
> @@ -195,3 +196,7 @@ static struct platform_driver adc_jack_driver = {
> };
>
> module_platform_driver(adc_jack_driver);
> +
> +MODULE_AUTHOR("MyungJoo Ham <myungjoo.ham@xxxxxxxxxxx>");
> +MODULE_DESCRIPTION("ADC Jack extcon driver");
> +MODULE_LICENSE("GPL v2");
--
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/