mtd: nand: denali_pci: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
authorJesse Chan <jc@linux.com>
Mon, 20 Nov 2017 20:57:13 +0000 (12:57 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 3 Feb 2018 16:38:52 +0000 (17:38 +0100)
commite6a5fe3180369479988ef4c44f41d9c00e102dbd
treea25cf8af1cff8e956fe0fcd048fa0860d2c2052b
parentbf8c4b3dd7bfd47920e61ad5f67c827a2e66c01b
mtd: nand: denali_pci: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE

commit d822401d1c6898a4a4ee03977b78b8cec402e88a upstream.

This change resolves a new compile-time warning
when built as a loadable module:

WARNING: modpost: missing MODULE_LICENSE() in drivers/mtd/nand/denali_pci.o
see include/linux/module.h for more information

This adds the license as "GPL v2", which matches the header of the file.

MODULE_DESCRIPTION and MODULE_AUTHOR are also added.

Signed-off-by: Jesse Chan <jc@linux.com>
Acked-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mtd/nand/denali_pci.c