video: fbdev/mmp: add MODULE_LICENSE
PATCH 1/1 video: fbdev/mmp: add MODULE_LICENSE
Kbuild complains about the lack of a license tag in this driver:
WARNING: modpost: missing MODULE_LICENSE() in drivers/video/fbdev/mmp/mmp_disp.o
This adds the license, author and description tags.
Signed-off-by Arnd Bergmann <[email protected]>
--- drivers/video/fbdev/mmp/core.c | 5 +++++ 1 file changed, 5 insertions(+)
drivers/video/fbdev/mmp/core.c +5 -0
@@ -23,6 +23,7 @@#include <linux/slab.h> #include <linux/dma-mapping.h> #include <linux/export.h> +#include <linux/module.h> #include <video/mmp_disp.h> static struct mmp_overlay *path_get_overlay(struct mmp_path *path,
@@ -249,3 +250,7 @@ void mmp_unregister_path(struct mmp_path *path)mutex_unlock (&disp_lock); }EXPORT_SYMBOL_GPL (mmp_unregister_path); + +MODULE_AUTHOR ("Zhou Zhu <[email protected]>" ); +MODULE_DESCRIPTION ("Marvell MMP display framework" ); +MODULE_LICENSE ("GPL" );
Signature · 1 line
2.9.0
Quoted 7 lines · Arnd Bergmann
Kbuildcomplains about the lack of a license tag in this driver:WARNING: modpost: missing
MODULE_LICENSE()indrivers/video/fbdev/mmp/mmp_disp.oThis adds the license, author and description tags.
Signed-off-by Arnd Bergmann <[email protected]>
Patch queued for 4.16, thanks.
Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics