module_sdio_driver(9)
β¨ module_sdio_driver(9) β¨
okay bestie, welcome to the module_sdio_driver page from the Kernel API Manual β this one's short, sweet, and lowkey a lifesaver if you're writing an SDIO driver π¦
πΈ NAME πΈ
module_sdio_driver β it's the helper macro for registering an SDIO driver, and honestly? it's giving "I do one thing and I do it flawlessly" π
β¨ SYNOPSIS β¨
module_sdio_driver (__sdio_driver );
that's it. that's the whole call. iconic minimalism π
π«Ά ARGUMENTS π«Ά
__sdio_driverβ yoursdio_driverstruct, bestie. that's the one thing it wants from you π
π DESCRIPTION π
so here's the vibe: this is a helper macro for SDIO drivers that don't do anything special in module init/exit. no cap β it just eliminates a whole lot of boilerplate for you π₯
β οΈ real talk though, two rules: - each module may only use this macro once β once, bestie, don't be greedy π - calling it replacesmodule_initandmodule_exit
like literally, that's the trade. you hand it your struct, it handles the boring registration ceremony, and you go live your main character life π
π¦ SEE ALSO π¦
- Kernel file
./include/linux/mmc/sdio_func.h SDIO_DEVICE(9)SDIO_DEVICE_CLASS(9)
go read those if you want the full lore, iykyk π
and that's the whole page, bestie β short king energy fr fr ππ
signing off from ./include/linux/mmc, dated October 2026, brought to you by module_sdio_driver(9) β slay, periodt π
β¨π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms