From: Cornelia Huck Date: Mon, 20 Nov 2006 16:07:51 +0000 (+0100) Subject: driver core: Introduce device_move(): move a device to a new parent. X-Git-Tag: v2.6.20-rc1~34^2~40^2~474^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a82472f86bf693b8e91ed56c9ca4f62fbbdcfa3;p=pandora-kernel.git driver core: Introduce device_move(): move a device to a new parent. Provide a function device_move() to move a device to a new parent device. Add auxilliary functions kobject_move() and sysfs_move_dir(). kobject_move() generates a new uevent of type KOBJ_MOVE, containing the previous path (DEVPATH_OLD) in addition to the usual values. For this, a new interface kobject_uevent_env() is created that allows to add further environmental data to the uevent at the kobject layer. Signed-off-by: Cornelia Huck Acked-by: Kay Sievers Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed