Driver core: fix "driver" symlink timing
commit1901fb2604fbcd53201f38725182ea807581159e
authorKay Sievers <kay.sievers@novell.com>
Sat, 7 Oct 2006 19:55:55 +0000 (7 21:55 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Dec 2006 22:51:58 +0000 (1 14:51 -0800)
treef75e83294a9b4b4ba405e7ed39e941095f8729cf
parent116af378201ef793424cd10508ccf18b06d8a021
Driver core: fix "driver" symlink timing

Create the "driver" link before the child device may be created by
the probing logic. This makes it possible for userspace (udev), to
determine the driver property of the parent device, at the time the
child device is created.

Signed-off-by: Kay Sievers <kay.sievers@novell.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/dd.c