upgrade 3.13 targets to 3.13.7
[openwrt/openwrt.git] / target / linux / generic / patches-3.13 / 221-module_exports.patch
index 8d34de33aaf27c871b4052538606dfcbe4ea005f..b5380030af41a8cc95aa3463d3412658d9c3bd16 100644 (file)
@@ -84,5 +84,5 @@
 +      __attribute__((section("__ksymtab_strings"              \
 +        __EXPORT_SUFFIX(sym)), aligned(1)))                   \
        = VMLINUX_SYMBOL_STR(sym);                              \
 +      __attribute__((section("__ksymtab_strings"              \
 +        __EXPORT_SUFFIX(sym)), aligned(1)))                   \
        = VMLINUX_SYMBOL_STR(sym);                              \
+       extern const struct kernel_symbol __ksymtab_##sym;      \
        __visible const struct kernel_symbol __ksymtab_##sym    \
        __visible const struct kernel_symbol __ksymtab_##sym    \
-       __used                                                  \