diff options
| author | Viresh Kumar <viresh.kumar@linaro.org> | 2020-12-08 11:22:17 +0530 |
|---|---|---|
| committer | Viresh Kumar <viresh.kumar@linaro.org> | 2020-12-08 11:22:17 +0530 |
| commit | c8bb4520543823a9b3da3861304273dc7232e2c7 (patch) | |
| tree | 26670815d56dfc89fbe55e77c8e987324b70f95f /include/linux/module.h | |
| parent | f45f89a778e8a61d9c79405e8c716058b6ba12f2 (diff) | |
| parent | f9b0498d29404f230894490d622e57e481c7d45a (diff) | |
Merge branch 'cpufreq/scmi' into cpufreq/arm/linux-next
Diffstat (limited to 'include/linux/module.h')
| -rw-r--r-- | include/linux/module.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/module.h b/include/linux/module.h index 7ccdf87f376f..6264617bab4d 100644 --- a/include/linux/module.h +++ b/include/linux/module.h @@ -740,7 +740,7 @@ static inline bool within_module(unsigned long addr, const struct module *mod) } /* Get/put a kernel symbol (calls should be symmetric) */ -#define symbol_get(x) ({ extern typeof(x) x __attribute__((weak)); &(x); }) +#define symbol_get(x) ({ extern typeof(x) x __attribute__((weak,visibility("hidden"))); &(x); }) #define symbol_put(x) do { } while (0) #define symbol_put_addr(x) do { } while (0) |
