2 * depmod.h - prototypes for the depmod utility
5 #ifndef MODINITTOOLS_DEPMOD_H
6 #define MODINITTOOLS_DEPMOD_H
12 /* This is not the same as the module struct in the kernel built .ko files */
15 /* Next module in list of all modules */
18 /* Dependencies: filled in by ops->calculate_deps() */
19 unsigned int num_deps
;
22 /* Set while we are traversing dependencies */
23 struct list_head dep_list
;
25 /* Line number in modules.order (or INDEX_PRIORITY_MIN) */
28 /* Tables extracted from module by ops->fetch_tables(). */
29 struct module_tables tables
;
31 /* Module operations, endian conversion required, etc. */
32 struct elf_file
*file
;
34 char *basename
; /* points into pathname */
38 #endif /* MODINITTOOLS_DEPMOD_H */