Selaa lähdekoodia

Staging: sep: Use filp->private_data to create proper device instances

Move from using a sep_dev global. The workqueue still uses it and we use the
pointer in order to know if a device was found.

This requires some restructuring as the pci probe and the init module logic
are all rather messed up and only worked by luck.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Alan Cox 16 vuotta sitten
vanhempi
commit
ca605bb68c
1 muutettua tiedostoa jossa 212 lisäystä ja 154 poistoa
  1. 212 154
      drivers/staging/sep/sep_driver.c

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 212 - 154
drivers/staging/sep/sep_driver.c


Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä