From: Cornelia Huck Date: Wed, 4 Mar 2009 11:44:00 +0000 (+0100) Subject: Driver core: Fix device_move() vs. dpm list ordering, v2 X-Git-Tag: v2.6.30-rc1~671^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffa6a7054d172a2f57248dff2de600ca795c5656;p=pandora-kernel.git 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 Acked-by: Alan Stern Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed