soc: qcom/llcc: add MODULE_LICENSE tag

Message ID
State New
Headers show
  • soc: qcom/llcc: add MODULE_LICENSE tag
Related show

Commit Message

Arnd Bergmann July 6, 2018, 12:57 p.m.
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 <>

 drivers/soc/qcom/llcc-slice.c | 4 ++++
 1 file changed, 4 insertions(+)


To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to
More majordomo info at


diff --git a/drivers/soc/qcom/llcc-slice.c b/drivers/soc/qcom/llcc-slice.c
index fcaad1a4b41d..fea6b33dd416 100644
--- a/drivers/soc/qcom/llcc-slice.c
+++ b/drivers/soc/qcom/llcc-slice.c
@@ -14,6 +14,7 @@ 
 #include <linux/regmap.h>
 #include <linux/slab.h>
 #include <linux/soc/qcom/llcc-qcom.h>
+#include <linux/module.h>
 #define ACTIVATE                      BIT(0)
 #define DEACTIVATE                    BIT(1)
@@ -333,3 +334,6 @@  int qcom_llcc_probe(struct platform_device *pdev,
 	return qcom_llcc_cfg_program(pdev);
+MODULE_DESCRIPTION("Qualcomm Last Level Cache Controller");