macro_rules! module_driver {
    (<$gen_type:ident>, $driver_ops:ty, { type: $type:ty, $($f:tt)* }) => { ... };
}
Expand description

Declares a kernel module that exposes a single driver.

It is meant to be used as a helper by other subsystems so they can more easily expose their own macros.

This documentation is an old archive. Please see https://rust.docs.kernel.org instead.