soc: qcom/llcc: add MODULE_LICENSE tag
Subsystems (2)
PATCH 1/1 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 <[email protected]>
--- drivers/soc/qcom/llcc-slice.c | 4 ++++ 1 file changed, 4 insertions(+)
drivers/soc/qcom/llcc-slice.c +4 -0
@@ -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); }EXPORT_SYMBOL_GPL (qcom_llcc_probe); + +MODULE_LICENSE ("GPL v2" ); +MODULE_DESCRIPTION ("Qualcomm Last Level Cache Controller" );
Signature · 1 line
2.9.0