Skip to content

Commit

Permalink
module: Update prototype for ref_module (formerly use_module)
Browse files Browse the repository at this point in the history
Commit 9bea7f2 renamed use_module to
ref_module (and changed its return value), but forgot to update this
prototype in module.h.

Signed-off-by: Anders Kaseorg <[email protected]>
Acked-by: WANG Cong <[email protected]>
Signed-off-by: Rusty Russell <[email protected]>
  • Loading branch information
andersk authored and rustyrussell committed Nov 24, 2010
1 parent 3561d43 commit dfd62d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/module.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) \
Expand Down

0 comments on commit dfd62d1

Please sign in to comment.