Message ID | 20160719084422.3304865-1-arnd@arndb.de (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
> > 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> Arnd thanks for the patch... Acked-by: Kedareswara rao Appana <appanad@xilinx.com> > --- > 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 -- 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
On Tue, Jul 19, 2016 at 10:43:49AM +0200, Arnd Bergmann wrote: > 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. Applied, thanks
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");
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(+)