dmaengine: zynqmp_dma: add missing MODULE_LICENSE
Subsystems (2)
PATCH 1/1 dmaengine: zynqmp_dma: add missing MODULE_LICENSE
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.
--- drivers/dma/xilinx/zynqmp_dma.c | 1 + 1 file changed, 1 insertion(+)
drivers/dma/xilinx/zynqmp_dma.c +1 -0
@@ -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" );
Signature · 1 line
2.9.0
Quoted 5 lines
We get a warning about the missing
MODULE_LICENSEtag for this newly added driver module:
Quoted 8 lines
WARNING: modpost: missing
MODULE_LICENSE()indrivers/dma/xilinx/zynqmp_dma.oseeinclude/linux/module.hfor more informationThis 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 <[email protected]>
Arnd thanks for the patch...
Quoted 17 lines
--- drivers/dma/xilinx/zynqmp_dma.c | 1 + 1 file changed, 1 insertion(+)(quoted diff) +0
-0
b/drivers/dma/xilinx/zynqmp_dma.cindexf777a5bc0db8..693474f5f2e5100644drivers/dma/xilinx/zynqmp_dma.c +1
-1@@ -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
Vinod Koul
AppliedQuoted 8 lines · Arnd Bergmann
We get a warning about the missing
MODULE_LICENSEtag for this newly added driver module:WARNING: modpost: missing
MODULE_LICENSE()indrivers/dma/xilinx/zynqmp_dma.oseeinclude/linux/module.hfor more informationThis adds a "GPL" license, matching the "version 2 or later" information in the comment at the start of the file.
Applied, thanks
Signature · 1 line
~Vinod