[PATCH] Driver core: send hotplug event before adding class interfaces
authorDmitry Torokhov <dtor_core@ameritech.net>
Thu, 15 Sep 2005 07:01:37 +0000 (02:01 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 28 Oct 2005 16:52:50 +0000 (09:52 -0700)
commitdbe9035d4f690c44b55d3d0f1bc193e2c3fc57fa
tree56e46e581e95ae3bc8ca5473b4fd147c8b6d1f03
parentb94dc6b58667a73eeaf5cfd9c9e90dcd98743c5b
[PATCH] Driver core: send hotplug event before adding class interfaces

Move call to kobject_hotplug() above code that adds interfaces
to a class device, otherwise children's hotplug events may reach
userspace first.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/class.c