to_wmi_driver(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

Okay bestie, welcome to to_wmi_driver(9) from the Kernel API Manual πŸ’– β€” this page is all about the helper macro to cast a driver to a wmi_driver. Periodt.


πŸŽ€ SYNOPSIS πŸŽ€

to_wmi_driver (drv );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • drv β€” driver struct. That’s the whole vibe: you hand over the driver struct, and that’s it 🫢

πŸ’… DESCRIPTION πŸ’…

Cast a struct device_driver to a struct wmi_driver. Literally the entire glow-up ✨ β€” it’s the helper macro for that cast, no extra drama, no mystery, just the type transformation. Slay.

🌸 SEE ALSO 🌸


Source/version cute sign-off: ./include/linux Β· October 2026 Β· page to_wmi_driver(9) πŸŽ€πŸ’– byeeee!

πŸ“¦ where this page comes from