[Intel-gfx] [PATCH v6 1/4] module: drop prototype for non-existing __symbol_get_gpl()

Mauro Carvalho Chehab mchehab at kernel.org
Mon May 9 16:23:36 UTC 2022


There's no such function, and __symbol_get() is already declared
as GPL. So, this is likely a left-over.

Signed-off-by: Mauro Carvalho Chehab <mchehab at kernel.org>
---

See [PATCH v6 0/4] at: https://lore.kernel.org/all/cover.1652113087.git.mchehab@kernel.org/

 include/linux/module.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/linux/module.h b/include/linux/module.h
index ccfbaec82790..77961f5773b6 100644
--- a/include/linux/module.h
+++ b/include/linux/module.h
@@ -299,7 +299,6 @@ struct notifier_block;
 extern int modules_disabled; /* for sysctl */
 /* Get/put a kernel symbol (calls must be symmetric) */
 void *__symbol_get(const char *symbol);
-void *__symbol_get_gpl(const char *symbol);
 #define symbol_get(x) ((typeof(&x))(__symbol_get(__stringify(x))))
 
 /* modules using other modules: kdb wants to see this. */
-- 
2.35.3



More information about the Intel-gfx mailing list