]> git.karo-electronics.de Git - linux-beck.git/commitdiff
module: Update prototype for ref_module (formerly use_module)
authorAnders Kaseorg <andersk@ksplice.com>
Wed, 24 Nov 2010 21:21:10 +0000 (15:21 -0600)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 24 Nov 2010 04:51:11 +0000 (15:21 +1030)
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 <andersk@ksplice.com>
Acked-by: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
include/linux/module.h

index b29e7458b96642b2f36162aa755b10ff76b15abe..7575bbbdf2a2b8e6a716fb6252c3d8e958756f52 100644 (file)
@@ -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)                       \