]> err.no Git - linux-2.6/commit
Driver core: add device symlink back to sysfs
authorGreg Kroah-Hartman <gregkh@suse.de>
Tue, 6 Mar 2007 20:55:53 +0000 (12:55 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Mar 2007 23:32:58 +0000 (15:32 -0800)
commitf7f3461d87536bed52bb83bc8fbe6bfd28619fb1
treed85b97ea5d47378669958028cfc55697d3a3d516
parent161e232b8823e230d4fdf8064e606bbdf26f47e2
Driver core: add device symlink back to sysfs

This moves the device symlink back to sysfs even if
CONFIG_SYSFS_DEPRECATED is enabled as too many userspace programs (well,
HAL), still rely on this link to be present.

I will rework the ability for sysfs to change layouts like this in the
future, but for now, this patch should fix people's network connections.

Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Matt Mackall <mpm@selenic.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/core.c