Skip to main content

module_serdev_device_driver

Macro module_serdev_device_driver 

Source
macro_rules! module_serdev_device_driver {
    ($($f:tt)*) => { ... };
}
Expand description

Declares a kernel module that exposes a single serial device bus device driver.

§Examples

kernel::module_serdev_device_driver! {
    type: MyDriver,
    name: "Module name",
    authors: ["Author name"],
    description: "Description",
    license: "GPL v2",
}