]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
soc: qcom/llcc: add MODULE_LICENSE tag
authorArnd Bergmann <arnd@arndb.de>
Fri, 6 Jul 2018 12:57:19 +0000 (14:57 +0200)
committerAndy Gross <andy.gross@linaro.org>
Wed, 14 Nov 2018 17:56:36 +0000 (09:56 -0800)
The lack of a MODULE_LICENSE tag prevents building the llcc driver
as a loadable module:

FATAL: modpost: GPL-incompatible module llcc-slice.ko uses GPL-only symbol 'ktime_get'

This adds the appropriate license and description tags.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
drivers/soc/qcom/llcc-slice.c

index 192ca761b2cb3a1f6c7615b3e179c94b0e1be51c..7f55203d28d74fe91dd1c199887f22478986b3c6 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/sizes.h>
 #include <linux/slab.h>
 #include <linux/soc/qcom/llcc-qcom.h>
+#include <linux/module.h>
 
 #define ACTIVATE                      BIT(0)
 #define DEACTIVATE                    BIT(1)
@@ -360,5 +361,5 @@ int qcom_llcc_probe(struct platform_device *pdev,
        return ret;
 }
 EXPORT_SYMBOL_GPL(qcom_llcc_probe);
-
 MODULE_LICENSE("GPL v2");
+MODULE_DESCRIPTION("Qualcomm Last Level Cache Controller");