module_apr_driver(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… module_apr_driver(9) β€” Kernel API Manual ✨

okay so bestie, this page is literally called module_apr_driver(9) and it lives in the Kernel API Manual, and it's about one tiny macro that saves you so much boilerplate. no cap, it's giving "small but iconic." πŸŽ€


🌸 NAME 🌸

module_apr_driver β€” helper macro for registering a aprbus driver


✨ SYNOPSIS ✨

module_apr_driver (__apr_driver );

🫢 ARGUMENTS 🫢

  • __apr_driver β€” an apr_driver struct. that's the whole vibe. πŸ’–

πŸ”₯ DESCRIPTION πŸ”₯

Okay so listen: this is a helper macro for aprbus drivers that literally do not do anything special in module init/exit. like, nothing extra, no little side quest, no main character moment in there. it just handles the boring registration setup for you and eliminates a lot of boilerplate. slay. πŸ’…

⚠️ bestie, important: each module may only use this macro once, and calling it replaces module_init and module_exit. so don't double-dip, okay? one time only. periodt. πŸ’€

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./include/linux/soc/qcom/apr.h β€” go read it, iykyk. πŸ“–βœ¨

and that's the whole page, bestie 🫢 source/version is ./include/linux/soc/qcom, dated October 2026 β€” mwah, go register that aprbus driver responsibly πŸ’‹πŸ’–

πŸ“¦ where this page comes from