Skip to content

Commit

Permalink
mtd: rawnand: ingenic: Add missing MODULE_* information
Browse files Browse the repository at this point in the history
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: 9df5741 ("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>
  • Loading branch information
YueHaibing authored and Miquel Raynal committed Apr 18, 2019
1 parent 2dcfc7b commit 09e030d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/mtd/nand/raw/ingenic/ingenic_ecc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");

0 comments on commit 09e030d

Please sign in to comment.