Expand description
Generic devices that are part of the kernel’s driver model.
C header: include/linux/device.h
Structs§
- Core
- The
Corecontext is the context of a bus specific device when it is supplied as argument of any of the bus callbacks, such asprobe(). - Device
- A reference-counted device.
- Normal
- The
Normalcontext is the context of a bus specific device when it is not an argument of any bus callback.
Traits§
- Device
Context - Marker trait for the context of a bus specific device.