diff options
Diffstat (limited to 'include/linux/module.h')
-rw-r--r-- | include/linux/module.h | 5 |
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 |
692 | int module_bug_finalize(const Elf_Ehdr *, const Elf_Shdr *, | 692 | void module_bug_finalize(const Elf_Ehdr *, const Elf_Shdr *, |
693 | struct module *); | 693 | struct module *); |
694 | void module_bug_cleanup(struct module *); | 694 | void module_bug_cleanup(struct module *); |
695 | 695 | ||
696 | #else /* !CONFIG_GENERIC_BUG */ | 696 | #else /* !CONFIG_GENERIC_BUG */ |
697 | 697 | ||
698 | static inline int module_bug_finalize(const Elf_Ehdr *hdr, | 698 | static 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 | } |
704 | static inline void module_bug_cleanup(struct module *mod) {} | 703 | static inline void module_bug_cleanup(struct module *mod) {} |
705 | #endif /* CONFIG_GENERIC_BUG */ | 704 | #endif /* CONFIG_GENERIC_BUG */ |