Message ID | 20190321132444.28659-1-anders.roxell@linaro.org (mailing list archive) |
---|---|
State | Mainlined, archived |
Commit | 7766d129bbff7095ae04c8296faf5dfcb7c3d3fa |
Headers | show |
Series | [v2] drivers: ufs: Add missing MODULE_* information | expand |
Hi Anders, On Thu, 2019-03-21 at 14:24 +0100, Anders Roxell wrote: > When building the ufs-mediatek module the following warning shows up: > > WARNING: modpost: missing MODULE_LICENSE() in > drivers/scsi/ufs/ufs-mediatek.o > > Rework to add MODULE_LICENSE,MODULE_AUTHOR and MODULE_DESCRIPTION. > > Fixes: ddd90623ce26 ("scsi: ufs-mediatek: Add UFS support for Mediatek SoC chips") > Signed-off-by: Anders Roxell <anders.roxell@linaro.org> > --- > drivers/scsi/ufs/ufs-mediatek.c | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/drivers/scsi/ufs/ufs-mediatek.c b/drivers/scsi/ufs/ufs-mediatek.c > index c3b78fc83d3f..5e3bda42ac3b 100644 > --- a/drivers/scsi/ufs/ufs-mediatek.c > +++ b/drivers/scsi/ufs/ufs-mediatek.c > @@ -364,4 +364,9 @@ static struct platform_driver ufs_mtk_pltform = { > }, > }; > > +MODULE_AUTHOR("Stanley Chu <stanley.chu@mediatek.com>"); > +MODULE_AUTHOR("Peter Wang <peter.wang@mediatek.com>"); > +MODULE_DESCRIPTION("MediaTek UFS Host Driver"); > +MODULE_LICENSE("GPL v2"); > + > module_platform_driver(ufs_mtk_pltform); Reviewed-by: Stanley Chu <stanley.chu@mediatek.com> Thanks, Stanley
Anders, > When building the ufs-mediatek module the following warning shows up: > > WARNING: modpost: missing MODULE_LICENSE() in > drivers/scsi/ufs/ufs-mediatek.o > > Rework to add MODULE_LICENSE,MODULE_AUTHOR and MODULE_DESCRIPTION. Applied to 5.2/scsi-queue, thanks.
diff --git a/drivers/scsi/ufs/ufs-mediatek.c b/drivers/scsi/ufs/ufs-mediatek.c index c3b78fc83d3f..5e3bda42ac3b 100644 --- a/drivers/scsi/ufs/ufs-mediatek.c +++ b/drivers/scsi/ufs/ufs-mediatek.c @@ -364,4 +364,9 @@ static struct platform_driver ufs_mtk_pltform = { }, }; +MODULE_AUTHOR("Stanley Chu <stanley.chu@mediatek.com>"); +MODULE_AUTHOR("Peter Wang <peter.wang@mediatek.com>"); +MODULE_DESCRIPTION("MediaTek UFS Host Driver"); +MODULE_LICENSE("GPL v2"); + module_platform_driver(ufs_mtk_pltform);
When building the ufs-mediatek module the following warning shows up: WARNING: modpost: missing MODULE_LICENSE() in drivers/scsi/ufs/ufs-mediatek.o Rework to add MODULE_LICENSE,MODULE_AUTHOR and MODULE_DESCRIPTION. Fixes: ddd90623ce26 ("scsi: ufs-mediatek: Add UFS support for Mediatek SoC chips") Signed-off-by: Anders Roxell <anders.roxell@linaro.org> --- drivers/scsi/ufs/ufs-mediatek.c | 5 +++++ 1 file changed, 5 insertions(+)