mtd: rawnand: ingenic: Add missing MODULE_* information
authorYueHaibing <yuehaibing@huawei.com>
Thu, 4 Apr 2019 10:47:11 +0000 (18:47 +0800)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 18 Apr 2019 06:54:04 +0000 (08:54 +0200)
gcc warning this:

WARNING: modpost: missing MODULE_LICENSE() in drivers/mtd/nand/raw/ingenic/ingenic_ecc.o

Add MODULE_LICENSE,MODULE_AUTHOR and MODULE_DESCRIPTION.

Reported-by: Hulk Robot <hulkci@huawei.com>
Fixes: 9df5741a577e ("mtd: rawnand: ingenic: Separate top-level and SoC specific code")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/ingenic/ingenic_ecc.c

index 13cc7630a3d83cd3630030aa7b83d0558e8bc19d..d3e085c5685a417d9eccddaedc867adef6abd4d4 100644 (file)
@@ -160,4 +160,7 @@ int ingenic_ecc_probe(struct platform_device *pdev)
 }
 EXPORT_SYMBOL(ingenic_ecc_probe);
 
+MODULE_AUTHOR("Alex Smith <alex@alex-smith.me.uk>");
+MODULE_AUTHOR("Harvey Hunt <harveyhuntnexus@gmail.com>");
+MODULE_DESCRIPTION("Ingenic ECC common driver");
 MODULE_LICENSE("GPL v2");