class_compat_create_link(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, this one lives in the Kernel API Manual and it's lowkey iconic β€” it's all about making a compatibility class device link to a bus device. fr fr, that's the whole vibe. πŸ¦‹


πŸ’– NAME πŸ’–

class_compat_create_link β€” create a compatibility class device link to a bus device

🌸 SYNOPSIS 🌸

int class_compat_create_link (struct class_compat *cls , struct device *dev );

πŸŽ€ ARGUMENTS πŸŽ€

  • cls β€” the compatibility class πŸ’…
  • dev β€” the target bus device ✨
bestie that's literally it, two arguments, no cap, go off πŸ‘‘

🧚 SEE ALSO 🧚

Kernel file ./drivers/base/class.c plus the whole friend group:


and that's the whole page, main character energy from start to finish πŸŒˆπŸ’œ

sign-off time: this cutie comes to you from ./drivers/base, dated October 2026, and it's class_compat_create_link(9) β€” periodt, iykyk πŸ’…πŸŽ€

πŸ“¦ where this page comes from