From c8a06f119cf672d5e4837cb188a19d97654a1597 Mon Sep 17 00:00:00 2001 From: Raghavendra Rao Ananta Date: Thu, 3 Sep 2020 10:15:52 -0700 Subject: [PATCH] soc: qcom: watchdog: Add MODULE_LICENSE and MODULE_DESCRIPTION MODULE_LICENSE is necessary for the module to be successfully loaded, else the kernel would complain with "Unknown symbol (-2)" error as the symbols would be of GPL v2 license. Hence, add the appropriate license. Also, add MODULE_DESCRIPTION along with it. Change-Id: I4b16de07a97ec604190c5806ecb35f074fcbe2c9 Signed-off-by: Raghavendra Rao Ananta --- drivers/soc/qcom/qcom_wdt_core.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/soc/qcom/qcom_wdt_core.c b/drivers/soc/qcom/qcom_wdt_core.c index 28255c48b6a8..077a7ab45aed 100644 --- a/drivers/soc/qcom/qcom_wdt_core.c +++ b/drivers/soc/qcom/qcom_wdt_core.c @@ -6,6 +6,7 @@ #include #include #include +#include #include #include #include @@ -579,3 +580,6 @@ err: return ret; } EXPORT_SYMBOL(qcom_wdt_register); + +MODULE_DESCRIPTION("QCOM Watchdog Driver Core"); +MODULE_LICENSE("GPL v2");