diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2006-11-20 17:07:51 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-12-01 14:52:01 -0800 |
commit | 8a82472f86bf693b8e91ed56c9ca4f62fbbdcfa3 (patch) | |
tree | 79d148ee548f4b57e6f5a4a69cf6cdb81e7a1bf2 /lib/list_debug.c | |
parent | Driver core: make drivers/base/core.c:setup_parent() static (diff) | |
download | linux-dev-8a82472f86bf693b8e91ed56c9ca4f62fbbdcfa3.tar.xz linux-dev-8a82472f86bf693b8e91ed56c9ca4f62fbbdcfa3.zip |
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 <cornelia.huck@de.ibm.com>
Acked-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions