提交 dfd62d1d 编写于 作者: A Anders Kaseorg 提交者: Rusty Russell

module: Update prototype for ref_module (formerly use_module)

Commit 9bea7f23 renamed use_module to
ref_module (and changed its return value), but forgot to update this
prototype in module.h.
Signed-off-by: NAnders Kaseorg <andersk@ksplice.com>
Acked-by: NWANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
上级 3561d43f
......@@ -517,7 +517,7 @@ static inline void __module_get(struct module *module)
#define symbol_put_addr(p) do { } while(0)
#endif /* CONFIG_MODULE_UNLOAD */
int use_module(struct module *a, struct module *b);
int ref_module(struct module *a, struct module *b);
/* This is a #define so the string doesn't get put in every .o file */
#define module_name(mod) \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册