Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dfd62d1d authored by Anders Kaseorg's avatar Anders Kaseorg Committed by Rusty Russell
Browse files

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: default avatarAnders Kaseorg <andersk@ksplice.com>
Acked-by: default avatarWANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent 3561d43f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)			\