diff mbox

dmaengine: fsl-edma-common: Add missing MODULE_LICENSE

Message ID 20180704050159.21225-1-vkoul@kernel.org (mailing list archive)
State Not Applicable
Headers show

Commit Message

Vinod Koul July 4, 2018, 5:01 a.m. UTC
Commit 9bfdea6db982: ("dmaengine: fsl-edma: extract common fsl-edma
code") introduced a common module from FSL routines but missed adding
MODULE_LICENSE tag resulting in warning:

WARNING: modpost: missing MODULE_LICENSE() in drivers/dma/fsl-edma-common.o

Fixes: 9bfdea6db982: ("dmaengine: fsl-edma: extract common fsl-edma code")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
---
 drivers/dma/fsl-edma-common.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Angelo Dureghello July 4, 2018, 6:31 a.m. UTC | #1
Reviewed-by: Angelo Dureghello <angelo@sysam.it>


Many thanks,
Angelo

On Wed, Jul 04, 2018 at 10:31:59AM +0530, Vinod Koul wrote:
> Commit 9bfdea6db982: ("dmaengine: fsl-edma: extract common fsl-edma
> code") introduced a common module from FSL routines but missed adding
> MODULE_LICENSE tag resulting in warning:
> 
> WARNING: modpost: missing MODULE_LICENSE() in drivers/dma/fsl-edma-common.o
> 
> Fixes: 9bfdea6db982: ("dmaengine: fsl-edma: extract common fsl-edma code")
> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
> Signed-off-by: Vinod Koul <vkoul@kernel.org>
> ---
>  drivers/dma/fsl-edma-common.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/dma/fsl-edma-common.c b/drivers/dma/fsl-edma-common.c
> index 17d677bd11f9..fd4333995a0e 100644
> --- a/drivers/dma/fsl-edma-common.c
> +++ b/drivers/dma/fsl-edma-common.c
> @@ -668,3 +668,5 @@ void fsl_edma_setup_regs(struct fsl_edma_engine *edma)
>  	edma->regs.tcd = edma->membase + EDMA_TCD;
>  }
>  EXPORT_SYMBOL_GPL(fsl_edma_setup_regs);
> +
> +MODULE_LICENSE("GPL v2");
> -- 
> 2.14.4
> 
> --
> To unsubscribe from this list: send the line "unsubscribe dmaengine" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe dmaengine" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/dma/fsl-edma-common.c b/drivers/dma/fsl-edma-common.c
index 17d677bd11f9..fd4333995a0e 100644
--- a/drivers/dma/fsl-edma-common.c
+++ b/drivers/dma/fsl-edma-common.c
@@ -668,3 +668,5 @@  void fsl_edma_setup_regs(struct fsl_edma_engine *edma)
 	edma->regs.tcd = edma->membase + EDMA_TCD;
 }
 EXPORT_SYMBOL_GPL(fsl_edma_setup_regs);
+
+MODULE_LICENSE("GPL v2");