]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/module.h
MODULES: add the module name for built in kernel drivers
[linux-2.6-omap-h63xx.git] / include / linux / module.h
index 10f771a49997e6d4f289c4be1b0013f099eb9db4..90dc2542978ca73d7787f7bd1e9d05501220ab78 100644 (file)
@@ -58,6 +58,7 @@ struct module_kobject
 {
        struct kobject kobj;
        struct module *mod;
+       struct kobject *drivers_dir;
 };
 
 /* These are either module local, or the kernel's dummy ones. */
@@ -263,7 +264,6 @@ struct module
        struct module_attribute *modinfo_attrs;
        const char *version;
        const char *srcversion;
-       struct kobject *drivers_dir;
 
        /* Exported symbols */
        const struct kernel_symbol *syms;