diff options
Diffstat (limited to 'drivers/ide/setup-pci.c')
-rw-r--r-- | drivers/ide/setup-pci.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/drivers/ide/setup-pci.c b/drivers/ide/setup-pci.c index 157fe93ea342..0719b6484824 100644 --- a/drivers/ide/setup-pci.c +++ b/drivers/ide/setup-pci.c | |||
@@ -795,24 +795,6 @@ int __ide_pci_register_driver(struct pci_driver *driver, struct module *module) | |||
795 | EXPORT_SYMBOL_GPL(__ide_pci_register_driver); | 795 | EXPORT_SYMBOL_GPL(__ide_pci_register_driver); |
796 | 796 | ||
797 | /** | 797 | /** |
798 | * ide_unregister_pci_driver - unregister an IDE driver | ||
799 | * @driver: driver to remove | ||
800 | * | ||
801 | * Unregister a currently installed IDE driver. Returns are the same | ||
802 | * as for pci_unregister_driver | ||
803 | */ | ||
804 | |||
805 | void ide_pci_unregister_driver(struct pci_driver *driver) | ||
806 | { | ||
807 | if(!pre_init) | ||
808 | pci_unregister_driver(driver); | ||
809 | else | ||
810 | list_del(&driver->node); | ||
811 | } | ||
812 | |||
813 | EXPORT_SYMBOL_GPL(ide_pci_unregister_driver); | ||
814 | |||
815 | /** | ||
816 | * ide_scan_pcidev - find an IDE driver for a device | 798 | * ide_scan_pcidev - find an IDE driver for a device |
817 | * @dev: PCI device to check | 799 | * @dev: PCI device to check |
818 | * | 800 | * |