]> git.baikalelectronics.ru Git - kernel.git/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)
commit94853e13de5fcd7272c493041d959bc642598f84
treed85b97ea5d47378669958028cfc55697d3a3d516
parentfe7881df4762c4458367ba8267c645252dc71943
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