module_rpmsg_driver(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ module_rpmsg_driver(9) πŸŽ€

okay so welcome to the Kernel API Manual, bestie β€” this page is all about module_rpmsg_driver(9), aka the helper macro for registering an rpmsg driver. it’s giving β€œno boilerplate, just vibes” and I’m obsessed. ✨


✨ NAME ✨

module_rpmsg_driver β€” helper macro for registering an rpmsg driver. 🫢


🌸 SYNOPSIS 🌸

module_rpmsg_driver (__rpmsg_driver );

πŸ’… ARGUMENTS πŸ’…

  • __rpmsg_driver β€” the rpmsg_driver struct. that’s the whole argument, bestie. 🫢

πŸ”₯ DESCRIPTION πŸ”₯

okay so this is a helper macro for rpmsg drivers that do not do anything special in module init/exit. it literally exists to eliminate a lot of boilerplate, and the way that it eats the repetitive setup is so real. πŸ’…

bestie, important: each module may only use this macro once, and calling it replaces module_init and module_exit. periodt. no cap. 🚨

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./include/linux/rpmsg.h
  • struct rpmsg_channel_info(9)
  • struct rpmsg_endpoint(9)
  • struct rpmsg_driver(9)

xoxo, bestie πŸ’– this page came from ./include/linux, dated October 2026, and it’s serving module_rpmsg_driver(9) energy. stay slay. πŸŽ€βœ¨

πŸ“¦ where this page comes from