Name

set_primary_fwnode — Change the primary firmware node of a given device.

Synopsis

void set_primary_fwnode (struct device * dev,
 struct fwnode_handle * fwnode);
 

Arguments

dev

Device to handle.

fwnode

New primary firmware node of the device.

Description

Set the device's firmware node pointer to fwnode, but if a secondary firmware node of the device is present, preserve it.