set_primary_fwnode(9) 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.

COPYRIGHT