aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFerenc Wágner <wferi@niif.hu>2013-10-13 21:34:17 +0200
committerFerenc Wágner <wferi@niif.hu>2014-03-01 17:40:34 +0100
commitd75318e4dc8e5c13ce07937bb1708ebcacda4a4c (patch)
tree2ee57e1dc99fa9e7753ff9c8410b9d00af6bbb1a
parentff5ded43e4c2d40d0ae723b902119bcff624de13 (diff)
downloadsyslinux-d75318e4dc8e5c13ce07937bb1708ebcacda4a4c.tar.gz
syslinux-d75318e4dc8e5c13ce07937bb1708ebcacda4a4c.tar.xz
syslinux-d75318e4dc8e5c13ce07937bb1708ebcacda4a4c.zip
sys/module.h: fix some typos in function documentations
-rw-r--r--com32/include/sys/module.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/com32/include/sys/module.h b/com32/include/sys/module.h
index eaa4182a..3e5a8d9b 100644
--- a/com32/include/sys/module.h
+++ b/com32/include/sys/module.h
@@ -175,7 +175,7 @@ extern struct list_head modules_head;
#define for_each_module(m) list_for_each_entry(m, &modules_head, list)
/**
- * for_each_module - iterator loop through the list of loaded modules safe against removal.
+ * for_each_module_safe - iterator loop through the list of loaded modules safe against removal.
*/
#define for_each_module_safe(m, n) \
list_for_each_entry_safe(m, n, &modules_head, list)
@@ -250,6 +250,7 @@ extern int module_unload(struct elf_module *module);
/**
* _module_unload - unloads the module without running destructors
+ * @module: the module descriptor structure.
*
* This function is the same as module_unload(), except that the
* module's destructors are not executed.
@@ -257,7 +258,7 @@ extern int module_unload(struct elf_module *module);
extern int _module_unload(struct elf_module *module);
/**
- * module_unload - unloads the module from the system.
+ * get_module_type - get type of the module
* @module: the module descriptor structure.
*
* This function returns the type of module we're dealing with