From: Dmitry Torokhov Date: Wed, 19 Sep 2007 05:46:50 +0000 (-0700) Subject: Driver core: fix deprectated sysfs structure for nested class devices X-Git-Tag: v2.6.23-rc7~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f01a757e75f2a3cab2bab89c4176498963946b9;p=pandora-kernel.git Driver core: fix deprectated sysfs structure for nested class devices Nested class devices used to have 'device' symlink point to a real (physical) device instead of a parent class device. When converting subsystems to struct device we need to keep doing what class devices did if CONFIG_SYSFS_DEPRECATED is Y, otherwise parts of udev break. Signed-off-by: Dmitry Torokhov Cc: Kay Sievers Acked-by: Greg KH Tested-by: Anssi Hannula Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed