apmt_add_platform_device(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… apmt_add_platform_device(9)

okay so welcome to the Kernel API Manual bestie, this one's a little kernel-side moment πŸŽ€

✨ NAME ✨

apmt_add_platform_device β€” the function that literally allocates a platform device for an APMT node πŸ¦‹

🌸 SYNOPSIS 🌸

int apmt_add_platform_device (struct acpi_apmt_node *node , struct
       fwnode_handle *fwnode );

🫢 ARGUMENTS 🫢

  • node β€” pointer to device ACPI APMT node ✨ like, the APMT node in question, that's the vibe
  • fwnode β€” the fwnode associated with the APMT node πŸ’œ you know, its fwnode bestie

πŸ‘‘ RETURN πŸ‘‘

  • 0 on success β€” slay πŸ’…
  • <0 failure β€” not slay 😭

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/acpi/arm64/apmt.c β€” go read it, it's giving main character energy πŸ‘€

and that's the whole page fr fr πŸ“ source: ./drivers/acpi/arm64, dated October 2026 β€” catch you in the next manpage, mwah πŸ’–πŸ§šβ­

πŸ“¦ where this page comes from