diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/comedi/drivers/comedi_pci.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/staging/comedi/drivers/comedi_pci.h b/drivers/staging/comedi/drivers/comedi_pci.h index 09c9a443536..c14a036a053 100644 --- a/drivers/staging/comedi/drivers/comedi_pci.h +++ b/drivers/staging/comedi/drivers/comedi_pci.h | |||
@@ -29,19 +29,6 @@ | |||
29 | #include <linux/pci.h> | 29 | #include <linux/pci.h> |
30 | 30 | ||
31 | /* | 31 | /* |
32 | * Called to disable PCI device if PCI device has been enabled, but | ||
33 | * PCI regions have not been reserved. | ||
34 | * | ||
35 | * It only disables the PCI device if the kernel supports reference | ||
36 | * counting of PCI enables, otherwise it might stop the device working | ||
37 | * in another driver instance. | ||
38 | */ | ||
39 | static inline void comedi_pci_disable_no_regions(struct pci_dev *pdev) | ||
40 | { | ||
41 | pci_disable_device(pdev); | ||
42 | } | ||
43 | |||
44 | /* | ||
45 | * Enable the PCI device and request the regions. | 32 | * Enable the PCI device and request the regions. |
46 | */ | 33 | */ |
47 | static inline int comedi_pci_enable(struct pci_dev *pdev, const char *res_name) | 34 | static inline int comedi_pci_enable(struct pci_dev *pdev, const char *res_name) |