Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

soc: qcom/llcc: add MODULE_LICENSE tag

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>

authored by

Arnd Bergmann and committed by
Andy Gross
8c1919a2 279536a5

+2 -1
+2 -1
drivers/soc/qcom/llcc-slice.c
··· 16 16 #include <linux/sizes.h> 17 17 #include <linux/slab.h> 18 18 #include <linux/soc/qcom/llcc-qcom.h> 19 + #include <linux/module.h> 19 20 20 21 #define ACTIVATE BIT(0) 21 22 #define DEACTIVATE BIT(1) ··· 361 360 return ret; 362 361 } 363 362 EXPORT_SYMBOL_GPL(qcom_llcc_probe); 364 - 365 363 MODULE_LICENSE("GPL v2"); 364 + MODULE_DESCRIPTION("Qualcomm Last Level Cache Controller");