diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-04-01 13:54:13 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-04-01 13:54:13 -0400 |
commit | f5ef2abcbeb5b0be23f7cc610a024b2406e3d8e6 (patch) | |
tree | f0ded5f4a61f4db25794d097725e1d37d872c80c /scripts/basic/fixdep.c | |
parent | 755948cfca16c71b16e8ff4a9d4dd31b1c0bf923 (diff) |
driver core: do not wait unnecessarily in driver_unregister()
Ingo reported that built-in drivers suffered bootup hangs with certain
driver unregistry sequences, due to sysfs breakage.
Do the minimal fix for v2.6.21: only wait if the driver is a module.
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/basic/fixdep.c')
0 files changed, 0 insertions, 0 deletions