Преглед изворни кода

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.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Kedareswara rao Appana <appanad@xilinx.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Arnd Bergmann пре 9 година
родитељ
комит
e94570a36b
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      drivers/dma/xilinx/zynqmp_dma.c

+ 1 - 0
drivers/dma/xilinx/zynqmp_dma.c

@@ -1146,5 +1146,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");