From: YueHaibing Date: Thu, 4 Apr 2019 10:47:11 +0000 (+0800) Subject: mtd: rawnand: ingenic: Add missing MODULE_* information X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=09e030d975490a23f759e44e54520307b8c7e8e2;p=openwrt%2Fstaging%2Fblogic.git mtd: rawnand: ingenic: Add missing MODULE_* information 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 Fixes: 9df5741a577e ("mtd: rawnand: ingenic: Separate top-level and SoC specific code") Signed-off-by: YueHaibing Signed-off-by: Miquel Raynal --- diff --git a/drivers/mtd/nand/raw/ingenic/ingenic_ecc.c b/drivers/mtd/nand/raw/ingenic/ingenic_ecc.c index 13cc7630a3d8..d3e085c5685a 100644 --- a/drivers/mtd/nand/raw/ingenic/ingenic_ecc.c +++ b/drivers/mtd/nand/raw/ingenic/ingenic_ecc.c @@ -160,4 +160,7 @@ int ingenic_ecc_probe(struct platform_device *pdev) } EXPORT_SYMBOL(ingenic_ecc_probe); +MODULE_AUTHOR("Alex Smith "); +MODULE_AUTHOR("Harvey Hunt "); +MODULE_DESCRIPTION("Ingenic ECC common driver"); MODULE_LICENSE("GPL v2");