• Greg Kroah-Hartman's avatar
    driver core: rework driver class structures and logic · 28926b3d
    Greg Kroah-Hartman authored
    Removes the device_class, devclass_attribute, and device_interface structures
    and replaces them with class, class_device, and class_interface structures.
    
    This allows us to have multiple class_device structures per device structures
    which mirrors the ways things really are within the kernel.  It also allows 
    class_device structures to be created later than struct devices as they
    are naturally created much later in the initialization process of a device.
    28926b3d
core.c 8.18 KB