rtc: hctosys: use function name in the error log
[linux-2.6-block.git] / kernel / module.c
index ec53f594e9c9fcf434a4ffaf48ff2405d7272b73..650b038ae52035962cb4fa37b14776225e4ce701 100644 (file)
@@ -2770,6 +2770,9 @@ static int find_module_sections(struct module *mod, struct load_info *info)
        mod->trace_events = section_objs(info, "_ftrace_events",
                                         sizeof(*mod->trace_events),
                                         &mod->num_trace_events);
+       mod->trace_enums = section_objs(info, "_ftrace_enum_map",
+                                       sizeof(*mod->trace_enums),
+                                       &mod->num_trace_enums);
 #endif
 #ifdef CONFIG_TRACING
        mod->trace_bprintk_fmt_start = section_objs(info, "__trace_printk_fmt",