device_add_software_node(9)
πΈ NAME πΈ
okay bestie, welcome to the device_add_software_node(9) page from the Kernel API Manual π
β¨
device_add_software_node β assign a software node to a device π
β¨ SYNOPSIS β¨
int device_add_software_node (struct device *dev , const struct
software_node *node );
π«Ά ARGUMENTS π«Ά
devβ the device the software node is meant for. literally the target device, no cap π―nodeβ the software node. the node itself, periodt π¦
π« DESCRIPTION π«
Okay so this function makes node the secondary firmware node pointer of dev β¨. If dev has no primary node, then node will become the primary node π. The function will register node automatically if it wasn't already registered π«Ά. That's the whole vibe β it hooks the node up for you, iykyk π
.
π₯ SEE ALSO π₯
- Kernel file
./drivers/base/swnode.cπ property_entries_dup(9)property_entries_free(9)software_node_find_by_name(9)software_node_register_node_group(9)software_node_unregister_node_group(9)software_node_register(9)software_node_unregister(9)device_remove_software_node(9)device_create_managed_software_node(9)
mwah π source/version: ./drivers/base Β· date: October 2026 Β· page: device_add_software_node(9) β slay, bestie, and may your firmware nodes be iconic πβ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms