Message ID | 20180629154447.2272-1-niklas.cassel@linaro.org |
---|---|
State | Accepted |
Commit | 4da3b0452bc66af8feca71b176668faf3d0e750d |
Headers | show |
Series | soc: qcom: llc-slice: Add missing MODULE_LICENSE() | expand |
On Fri 29 Jun 08:44 PDT 2018, Niklas Cassel wrote: > Add missing MODULE_LICENSE(). > According to the SPDX-License-Identifier, the license is GPL v2. > > Fixes the following warning: > WARNING: modpost: missing MODULE_LICENSE() in drivers/soc/qcom/llcc-slice.o > > Fixes: c5c7385f89bf ("drivers: soc: Add LLCC driver") > Signed-off-by: Niklas Cassel <niklas.cassel@linaro.org> Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> Regards, Bjorn > --- > drivers/soc/qcom/llcc-slice.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/soc/qcom/llcc-slice.c b/drivers/soc/qcom/llcc-slice.c > index fcaad1a4b41d..54063a31132f 100644 > --- a/drivers/soc/qcom/llcc-slice.c > +++ b/drivers/soc/qcom/llcc-slice.c > @@ -9,6 +9,7 @@ > #include <linux/device.h> > #include <linux/io.h> > #include <linux/kernel.h> > +#include <linux/module.h> > #include <linux/mutex.h> > #include <linux/of_device.h> > #include <linux/regmap.h> > @@ -333,3 +334,5 @@ int qcom_llcc_probe(struct platform_device *pdev, > return qcom_llcc_cfg_program(pdev); > } > EXPORT_SYMBOL_GPL(qcom_llcc_probe); > + > +MODULE_LICENSE("GPL v2"); > -- > 2.17.1 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/soc/qcom/llcc-slice.c b/drivers/soc/qcom/llcc-slice.c index fcaad1a4b41d..54063a31132f 100644 --- a/drivers/soc/qcom/llcc-slice.c +++ b/drivers/soc/qcom/llcc-slice.c @@ -9,6 +9,7 @@ #include <linux/device.h> #include <linux/io.h> #include <linux/kernel.h> +#include <linux/module.h> #include <linux/mutex.h> #include <linux/of_device.h> #include <linux/regmap.h> @@ -333,3 +334,5 @@ int qcom_llcc_probe(struct platform_device *pdev, return qcom_llcc_cfg_program(pdev); } EXPORT_SYMBOL_GPL(qcom_llcc_probe); + +MODULE_LICENSE("GPL v2");
Add missing MODULE_LICENSE(). According to the SPDX-License-Identifier, the license is GPL v2. Fixes the following warning: WARNING: modpost: missing MODULE_LICENSE() in drivers/soc/qcom/llcc-slice.o Fixes: c5c7385f89bf ("drivers: soc: Add LLCC driver") Signed-off-by: Niklas Cassel <niklas.cassel@linaro.org> --- drivers/soc/qcom/llcc-slice.c | 3 +++ 1 file changed, 3 insertions(+) -- 2.17.1 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html