summaryrefslogtreecommitdiffstats
path: root/freed-ora/tags/f27/4.15.5-300.fc27.gnu/arm64-qcom-fix-rmtfs.patch
diff options
context:
space:
mode:
Diffstat (limited to 'freed-ora/tags/f27/4.15.5-300.fc27.gnu/arm64-qcom-fix-rmtfs.patch')
-rw-r--r--freed-ora/tags/f27/4.15.5-300.fc27.gnu/arm64-qcom-fix-rmtfs.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/freed-ora/tags/f27/4.15.5-300.fc27.gnu/arm64-qcom-fix-rmtfs.patch b/freed-ora/tags/f27/4.15.5-300.fc27.gnu/arm64-qcom-fix-rmtfs.patch
new file mode 100644
index 000000000..e8a98617a
--- /dev/null
+++ b/freed-ora/tags/f27/4.15.5-300.fc27.gnu/arm64-qcom-fix-rmtfs.patch
@@ -0,0 +1,36 @@
+From 3b229bdb54cc83061b4b7840e3532316cb1ac7ce Mon Sep 17 00:00:00 2001
+From: Jesse Chan <jc@linux.com>
+Date: Mon, 20 Nov 2017 13:33:25 -0800
+Subject: soc: qcom: rmtfs_mem: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
+
+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>
+---
+ drivers/soc/qcom/rmtfs_mem.c | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/drivers/soc/qcom/rmtfs_mem.c b/drivers/soc/qcom/rmtfs_mem.c
+index ce35ff7..0a43b2e 100644
+--- a/drivers/soc/qcom/rmtfs_mem.c
++++ b/drivers/soc/qcom/rmtfs_mem.c
+@@ -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");
+--
+cgit v1.1
+
OpenPOWER on IntegriCloud