module_vchiq_driver(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– module_vchiq_driver(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual page for module_vchiq_driver β€” the tiny helper macro that handles the boring module init/exit stuff for vchiq drivers. no cap, it's giving β€œless boilerplate, more slay” ✨


πŸŽ€ NAME πŸŽ€

module_vchiq_driver β€” helper macro for registering a vchiq driver 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

module_vchiq_driver (__vchiq_driver );

🌸 ARGUMENTS 🌸

  • __vchiq_driver β€” the vchiq driver struct πŸ’… that's the whole arg situation, bestie.

πŸ”₯ DESCRIPTION πŸ”₯

Okay so here's the tea β˜•: module_vchiq_driver is a helper macro for vchiq drivers that do not do anything special in module init/exit. It literally eliminates a lot of boilerplate β€” the way it saves you from typing the same setup over and over is iconic πŸ‘‘

A couple of rules, bestie, and they matter:

  • Each module may only use this macro once 🫢. do not spam it, iykyk.
  • Calling it replaces module_init and module_exit 😌 so it's not just hanging out next to them β€” it takes their spot.

That's the vibe: if your vchiq driver has nothing special to do at module init/exit, this macro is your main character energy πŸ‘‘πŸ’–


πŸ’€ SEE ALSO πŸ’€

  • Kernel file ./include/linux/raspberrypi/vchiq_bus.h β€” go peek, bestie πŸ¦‹

mwah πŸ’‹ β€” source/version: ./include/linux/raspberrypi Β· date: October 2026 Β· page: module_vchiq_driver(9) signing off. bye bestie, slay your modules πŸŒˆπŸ’–

πŸ“¦ where this page comes from