An error occurred while fetching folder content.
Move complete initialisation to device_init
Kevin Wolf authored

* Up to now, the cdi-device struct was created during the init_driver
  call of the driver and init_device only completed the initialisation.
  The new model is that init_device gets bus information (e.g. PCI
  address, device/vendor ID) and decides if it can handle the device. If
  so, it creates a cdi_device object and returns it.

  This way device creation is decoupled from driver initialisation and
  hot-plugging becomes possible.
Signed-off-by: Kevin Wolf's avatarKevin Wolf <kevin@tyndur.org>
Acked-by: Max Reitz's avatarMax Reitz <max@tyndur.org>
Acked-by: default avatarMatthew Iselin <matthew@theiselins.net>
10f8c755
Name Last commit Last update
..