'\" t .\" Title: set_primary_fwnode .\" 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 "SET_PRIMARY_FWNODE" "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" set_primary_fwnode \- Change the primary firmware node of a given device\&. .SH "SYNOPSIS" .HP \w'void\ set_primary_fwnode('u .BI "void set_primary_fwnode(struct\ device\ *\ " "dev" ", struct\ fwnode_handle\ *\ " "fwnode" ");" .SH "ARGUMENTS" .PP \fIdev\fR .RS 4 Device to handle\&. .RE .PP \fIfwnode\fR .RS 4 New primary firmware node of the device\&. .RE .SH "DESCRIPTION" .PP Set the device\*(Aqs firmware node pointer to \fIfwnode\fR, but if a secondary firmware node of the device is present, preserve it\&. .SH "COPYRIGHT" .br