diff --git a/include/linux/module.h b/include/linux/module.h index 70bd843c71cb83872e7a9190365ed3a870fd5d1d..d9569151c18241f2dbacca1d35d5f8f01b8809c1 100644 --- 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"))) \