Searched hist:"6 dcec2511ff55b4abaca7ad3433011a7c04c2430" (Results 1 – 1 of 1) sorted by relevance
/linux/include/linux/ |
H A D | device.h | diff 6dcec2511ff55b4abaca7ad3433011a7c04c2430 Thu Nov 01 21:31:26 CET 2007 Greg Kroah-Hartman <gregkh@suse.de> kset: convert struct bus_device->drivers to use kset_create
Dynamically create the kset instead of declaring it statically.
Having 3 static kobjects in one structure is not only foolish, but ripe for nasty race conditions if handled improperly. We also rename the field to catch any potential users of it (not that there should be outside of the driver core...)
Cc: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|