Scroll to navigation

SET_PRIMARY_FWNODE(9) Device drivers infrastructure SET_PRIMARY_FWNODE(9)

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.

COPYRIGHT

January 2017 Kernel Hackers Manual 4.8.