summaryrefslogtreecommitdiff
path: root/arch/nios2/kernel/module.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/nios2/kernel/module.c')
-rw-r--r--arch/nios2/kernel/module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/nios2/kernel/module.c b/arch/nios2/kernel/module.c
index cc924a38f22a..e2e3f13f98d5 100644
--- a/arch/nios2/kernel/module.c
+++ b/arch/nios2/kernel/module.c
@@ -36,7 +36,7 @@ void *module_alloc(unsigned long size)
}
/* Free memory returned from module_alloc */
-void module_free(struct module *mod, void *module_region)
+void module_memfree(void *module_region)
{
kfree(module_region);
}