From: Anders Kaseorg Date: Wed, 24 Nov 2010 21:21:10 +0000 (-0600) Subject: module: Update prototype for ref_module (formerly use_module) X-Git-Tag: v2.6.37-rc4~35^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dfd62d1d84d83f9421792c78bcf72de9bc2bb603;p=platform%2Fkernel%2Flinux-3.10.git module: Update prototype for ref_module (formerly use_module) Commit 9bea7f23952d5948f8e5dfdff4de09bb9981fb5f 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 Acked-by: WANG Cong Signed-off-by: Rusty Russell --- diff --git a/include/linux/module.h b/include/linux/module.h index b29e745..7575bbb 100644 --- a/include/linux/module.h +++ b/include/linux/module.h @@ -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) \