]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
soc: qcom: rmtfs_mem: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
authorJesse Chan <jc@linux.com>
Mon, 20 Nov 2017 21:33:25 +0000 (13:33 -0800)
committerSeth Forshee <seth.forshee@canonical.com>
Wed, 28 Feb 2018 14:46:42 +0000 (08:46 -0600)
BugLink: http://bugs.launchpad.net/bugs/1752119
commit 3b229bdb54cc83061b4b7840e3532316cb1ac7ce upstream.

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

WARNING: modpost: missing MODULE_LICENSE() in drivers/soc/qcom/rmtfs_mem.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>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/soc/qcom/rmtfs_mem.c

index ce35ff748adfc93c212e1a99e98c53630c86eff6..0a43b2e8906feea996c6ba78b40347a3e3f1ce41 100644 (file)
@@ -267,3 +267,7 @@ static void qcom_rmtfs_mem_exit(void)
        unregister_chrdev_region(qcom_rmtfs_mem_major, QCOM_RMTFS_MEM_DEV_MAX);
 }
 module_exit(qcom_rmtfs_mem_exit);
+
+MODULE_AUTHOR("Linaro Ltd");
+MODULE_DESCRIPTION("Qualcomm Remote Filesystem memory driver");
+MODULE_LICENSE("GPL v2");