Scroll to navigation

DEVICE_SET_OF_NODE_F(9) Device drivers infrastructure DEVICE_SET_OF_NODE_F(9)

NAME

device_set_of_node_from_dev - reuse device-tree node of another device

SYNOPSIS

void device_set_of_node_from_dev(struct device * dev, const struct device * dev2);

ARGUMENTS

dev

device whose device-tree node is being set

dev2

device whose device-tree node is being reused

DESCRIPTION

Takes another reference to the new device-tree node after first dropping any reference held to the old node.

COPYRIGHT

June 2024 Kernel Hackers Manual 3.10