• Max Reitz's avatar
    cdi.h: Add cdi_handle_bus_device() · 71b864ef
    Max Reitz authored and Kevin Wolf's avatar Kevin Wolf committed
    
    
    + Currently, all devices provided on a bus have to be passed to the
      init_device() function of all drivers handling any device type on that
      bus. cdi_handle_bus_device() can be used by the driver to specify a
      pattern (struct cdi_bus_device_pattern) which allows the CDI
      implementation to speed up the selection of the correct driver for a
      new device.
    Signed-off-by: Max Reitz's avatarMax Reitz <max@tyndur.org>
    Signed-off-by: Kevin Wolf's avatarKevin Wolf <kevin@tyndur.org>
    71b864ef
cdi.h 20.8 KB