module_peci_driver(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

hiii bestie πŸ’– you're reading the module_peci_driver(9) page from the Kernel API Manual, and honestly? it's a tiny baddie. very helper-macro, very "let me handle the boilerplate for you." 🫢

🌸 NAME 🌸

module_peci_driver β€” the helper macro for registering a modular PECI driver. slay. ✨

✨ SYNOPSIS ✨

the whole vibe is literally:

module_peci_driver (__peci_driver );

πŸŽ€ ARGUMENTS πŸŽ€

  • __peci_driver β€” the peci_driver struct. that's the one thing this macro wants from you. πŸ’…

πŸ’… DESCRIPTION πŸ’…

okay so picture a PECI driver that does not do anything special in module init/exit. no extra little tasks, no dramatic solo, just vibes. module_peci_driver is the helper macro for exactly that kind of driver, and it exists to eliminate a lot of boilerplate. lowkey iconic. 🌈

the way it works: calling this macro replaces module_init and module_exit, so you don't have to hand-write those bits yourself. but listen β€” each module may only use this macro once. fr fr, once. don't try to stack it. 🚨

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

πŸ¦‹ SEE ALSO πŸ¦‹

go peek at these besties:


mwah πŸ’‹ that's the whole page. source/version footer: ./drivers/peci, dated October 2026, with the title energy of module_peci_driver(9). byeeeee πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from