projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
[firefly-linux-kernel-4.4.55.git]
/
include
/
linux
/
module.h
diff --git
a/include/linux/module.h
b/include/linux/module.h
index e144309836af6357e0ec5dc652c27159035820c8..eaec13ddd6670bb8f9d41ef68a3faf3c7d06a5bb 100644
(file)
--- a/
include/linux/module.h
+++ b/
include/linux/module.h
@@
-183,6
+183,7
@@
void *__symbol_get_gpl(const char *symbol);
/* For every exported symbol, place a struct in the __ksymtab section */
#define __EXPORT_SYMBOL(sym, sec) \
+ extern typeof(sym) sym; \
__CRC_SYMBOL(sym, sec) \
static const char __kstrtab_##sym[] \
__attribute__((section("__ksymtab_strings"))) \