platform_add_devices(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, welcome to platform_add_devices(9) from the Kernel API Manual β€” we’re folding that manual name in right at the top, periodt. The official NAME line is literally:

platform_add_devices β€” add a numbers of platform devices

(yes, β€œa numbers” is what it says and we are keeping it exactly, no cap πŸ’€)


✨ SYNOPSIS ✨

int platform_add_devices (struct platform_device **devs , int num );

πŸŽ€ ARGUMENTS πŸŽ€

  • devs β€” array of platform devices to add 🫢
  • num β€” number of platform devices in array ⭐

πŸ’… RETURN πŸ’…

  • 0 on success πŸ”₯
  • negative error number on failure 😭

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/base/platform.c and the whole iconic friend group:


okay that’s the whole page, bestie β€” sign-off time πŸ’…

source/version girlie ./drivers/base, dated October 2026, and this is your main character platform_add_devices(9) logging off πŸŽ€πŸ¦‹πŸ’–

πŸ“¦ where this page comes from