aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/module.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/module.h')
-rw-r--r--include/linux/module.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/module.h b/include/linux/module.h
index 403ac26023ce..b29e7458b966 100644
--- a/include/linux/module.h
+++ b/include/linux/module.h
@@ -689,17 +689,16 @@ extern int module_sysfs_initialized;
689 689
690 690
691#ifdef CONFIG_GENERIC_BUG 691#ifdef CONFIG_GENERIC_BUG
692int module_bug_finalize(const Elf_Ehdr *, const Elf_Shdr *, 692void module_bug_finalize(const Elf_Ehdr *, const Elf_Shdr *,
693 struct module *); 693 struct module *);
694void module_bug_cleanup(struct module *); 694void module_bug_cleanup(struct module *);
695 695
696#else /* !CONFIG_GENERIC_BUG */ 696#else /* !CONFIG_GENERIC_BUG */
697 697
698static inline int module_bug_finalize(const Elf_Ehdr *hdr, 698static inline void module_bug_finalize(const Elf_Ehdr *hdr,
699 const Elf_Shdr *sechdrs, 699 const Elf_Shdr *sechdrs,
700 struct module *mod) 700 struct module *mod)
701{ 701{
702 return 0;
703} 702}
704static inline void module_bug_cleanup(struct module *mod) {} 703static inline void module_bug_cleanup(struct module *mod) {}
705#endif /* CONFIG_GENERIC_BUG */ 704#endif /* CONFIG_GENERIC_BUG */