diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2010-08-29 07:52:25 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-08-30 14:36:09 +0200 |
commit | eaa223e79533d31e9a84b50fca3592ce7ccf694e (patch) | |
tree | 724679c0e2cc1284a2771cd31b1188b062d55e37 /include/module.h | |
parent | 77d2a851fd09397cecb25bc5637b80b9ec51507f (diff) | |
download | barebox-eaa223e79533d31e9a84b50fca3592ce7ccf694e.tar.gz barebox-eaa223e79533d31e9a84b50fca3592ce7ccf694e.tar.xz |
module: move EXPORT_SYMBOL_GPL define to module.h
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/module.h')
-rw-r--r-- | include/module.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/module.h b/include/module.h index 9d0e803344..228a543fcb 100644 --- a/include/module.h +++ b/include/module.h @@ -36,6 +36,9 @@ struct module * load_module(void *mod_image, unsigned long len); #define EXPORT_SYMBOL(sym) \ __EXPORT_SYMBOL(sym, "") +#define EXPORT_SYMBOL_GPL(sym) \ + __EXPORT_SYMBOL(sym, "") + struct module { /* Unique handle for this module */ char name[MODULE_NAME_LEN]; @@ -71,6 +74,7 @@ int apply_relocate_add(Elf_Shdr *sechdrs, struct module *mod); #else #define EXPORT_SYMBOL(sym) +#define EXPORT_SYMBOL_GPL(sym) #endif /* CONFIG_MODULES */ extern struct list_head module_list; |