1 #ifndef MODINITTOOLS_DEPMOD_H
2 #define MODINITTOOLS_DEPMOD_H
7 /* Functions provided by depmod.c */
8 void add_symbol(const char *name
, struct module
*owner
);
9 struct module
*find_symbol(const char *name
, const char *modname
, int weak
);
10 void add_dep(struct module
*mod
, struct module
*depends_on
);
14 /* Next module in list of all modules */
18 struct module_ops
*ops
;
23 /* Dependencies: filled in by ops->calculate_deps() */
24 unsigned int num_deps
;
27 /* Set while we are traversing dependencies */
28 struct list_head dep_list
;
30 /* Line number in modules.order (or INDEX_PRIORITY_MIN) */
33 /* Tables extracted from module by ops->fetch_tables(). */
34 unsigned int pci_size
;
36 unsigned int usb_size
;
38 unsigned int ieee1394_size
;
40 unsigned int ccw_size
;
42 unsigned int pnp_size
;
44 unsigned int pnp_card_size
;
45 unsigned int pnp_card_offset
;
47 unsigned int input_size
;
49 unsigned int input_table_size
;
50 unsigned int serio_size
;
55 /* File contents and length. */
59 char *basename
; /* points into pathname */
63 #endif /* MODINITTOOLS_DEPMOD_H */