diff options
author | Cornelia Huck | 2009-03-04 12:44:00 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2009-03-25 00:38:26 +0100 |
commit | ffa6a7054d172a2f57248dff2de600ca795c5656 (patch) | |
tree | f93c6234bb90295c52fcef09e367ed77ff6c3645 /fs/sysfs/file.c | |
parent | Driver core: some cleanup on drivers/base/sys.c (diff) | |
download | kernel-qcow2-linux-ffa6a7054d172a2f57248dff2de600ca795c5656.tar.gz kernel-qcow2-linux-ffa6a7054d172a2f57248dff2de600ca795c5656.tar.xz kernel-qcow2-linux-ffa6a7054d172a2f57248dff2de600ca795c5656.zip |
Driver core: Fix device_move() vs. dpm list ordering, v2
dpm_list currently relies on the fact that child devices will
be registered after their parents to get a correct suspend
order. Using device_move() however destroys this assumption, as
an already registered device may be moved under a newly registered
one.
This patch adds a new argument to device_move(), allowing callers
to specify how dpm_list should be adapted.
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/sysfs/file.c')
0 files changed, 0 insertions, 0 deletions