Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1446248

[PATCH] dmaengine: zynqmp_dma: add missing MODULE_LICENSE

From Arnd Bergmann <arnd@arndb.de>
Newsgroups linux.kernel
Subject [PATCH] dmaengine: zynqmp_dma: add missing MODULE_LICENSE
Date 2016-07-19 10:50 +0200
Message-ID <rWySZ-1Ms-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


We get a warning about the missing MODULE_LICENSE tag for this newly
added driver module:

WARNING: modpost: missing MODULE_LICENSE() in drivers/dma/xilinx/zynqmp_dma.o
see include/linux/module.h for more information

This adds a "GPL" license, matching the "version 2 or later" information in
the comment at the start of the file.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 drivers/dma/xilinx/zynqmp_dma.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/dma/xilinx/zynqmp_dma.c b/drivers/dma/xilinx/zynqmp_dma.c
index f777a5bc0db8..693474f5f2e5 100644
--- a/drivers/dma/xilinx/zynqmp_dma.c
+++ b/drivers/dma/xilinx/zynqmp_dma.c
@@ -1141,5 +1141,6 @@ static struct platform_driver zynqmp_dma_driver = {
 
 module_platform_driver(zynqmp_dma_driver);
 
+MODULE_LICENSE("GPL");
 MODULE_AUTHOR("Xilinx, Inc.");
 MODULE_DESCRIPTION("Xilinx ZynqMP DMA driver");
-- 
2.9.0

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] dmaengine: zynqmp_dma: add missing MODULE_LICENSE Arnd Bergmann <arnd@arndb.de> - 2016-07-19 10:50 +0200
  RE: [PATCH] dmaengine: zynqmp_dma: add missing MODULE_LICENSE Appana Durga Kedareswara Rao <appana.durga.rao@xilinx.com> - 2016-07-19 11:00 +0200
  Re: [PATCH] dmaengine: zynqmp_dma: add missing MODULE_LICENSE Vinod Koul <vinod.koul@intel.com> - 2016-07-24 08:20 +0200

csiph-web