diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2007-04-02 02:49:48 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-04-02 13:06:09 -0400 |
commit | 0c84ce268b69855919b6ac7edc8f11caf21e9c88 (patch) | |
tree | 64e1fca7d80026db60ed4dde751d553193587034 /include/linux | |
parent | bcd9b89c02295b075fda4bdb666f6641f8212226 (diff) |
[PATCH] driver core: fix built-in drivers sysfs links
built-in drivers had broken sysfs links that caused bootup hangs for
certain driver unregistry sequences.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Acked-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/device.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/device.h b/include/linux/device.h index caad9bba9652..5cf30e95c8b6 100644 --- a/include/linux/device.h +++ b/include/linux/device.h | |||
@@ -128,6 +128,7 @@ struct device_driver { | |||
128 | 128 | ||
129 | struct module * owner; | 129 | struct module * owner; |
130 | const char * mod_name; /* used for built-in modules */ | 130 | const char * mod_name; /* used for built-in modules */ |
131 | struct module_kobject * mkobj; | ||
131 | 132 | ||
132 | int (*probe) (struct device * dev); | 133 | int (*probe) (struct device * dev); |
133 | int (*remove) (struct device * dev); | 134 | int (*remove) (struct device * dev); |