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 <[email protected]> > --- > 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 <[email protected]>"); > +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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

