'\" t .\" Title: device_move .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Device drivers infrastructure .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "DEVICE_MOVE" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Device drivers infrastructure" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" device_move \- moves a device to a new parent .SH "SYNOPSIS" .HP \w'int\ device_move('u .BI "int device_move(struct\ device\ *\ " "dev" ", struct\ device\ *\ " "new_parent" ", enum\ dpm_order\ " "dpm_order" ");" .SH "ARGUMENTS" .PP \fIdev\fR .RS 4 the pointer to the struct device to be moved .RE .PP \fInew_parent\fR .RS 4 the new parent of the device (can by NULL) .RE .PP \fIdpm_order\fR .RS 4 how to reorder the dpm_list .RE .SH "COPYRIGHT" .br