of_device_make_bus_id(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… of_device_make_bus_id β€” like, the Kernel API Manual one, bestie

okay so this page is of_device_make_bus_id(9) from the Kernel API Manual and honestly? it's a little icon and it deserves your attention πŸŽ€


✨ NAME ✨

of_device_make_bus_id β€” use the device node data to assign a unique name 🏷️✨


🌸 SYNOPSIS 🌸

void of_device_make_bus_id (struct device *dev );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” pointer to a device structure that's linked to a device tree node πŸŒ³πŸ”—

πŸ’– DESCRIPTION πŸ’–

okay so here's the tea β˜• β€” this routine will first try using the translated bus address to derive a unique name. slay, easy win.

but if it cannot do that? no stress, it doesn't just give up πŸ’… it will prepend names from parent nodes until a unique name can be derived. like it keeps climbing up the family tree until the name is, at long last, unique. main character energy from the parent nodes fr fr πŸ‘‘


πŸ”₯ SEE ALSO πŸ”₯


and that's the whole vibe 🫢 this one lives over in ./drivers/of and it's dated October 2026 β€” bookmark it, screenshot it, tell your friends πŸ’œβœ¨

of_device_make_bus_id(9) πŸŽ€ bye bestie, go name some devices πŸ’–

πŸ“¦ where this page comes from