diff options
Diffstat (limited to 'drivers/ide')
-rw-r--r-- | drivers/ide/pci/opti621.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/ide/pci/opti621.c b/drivers/ide/pci/opti621.c index edb9132ffbe4..4895f2ff3f05 100644 --- a/drivers/ide/pci/opti621.c +++ b/drivers/ide/pci/opti621.c | |||
@@ -223,6 +223,7 @@ static struct pci_driver driver = { | |||
223 | .name = "Opti621_IDE", | 223 | .name = "Opti621_IDE", |
224 | .id_table = opti621_pci_tbl, | 224 | .id_table = opti621_pci_tbl, |
225 | .probe = opti621_init_one, | 225 | .probe = opti621_init_one, |
226 | .remove = ide_pci_remove, | ||
226 | }; | 227 | }; |
227 | 228 | ||
228 | static int __init opti621_ide_init(void) | 229 | static int __init opti621_ide_init(void) |
@@ -230,7 +231,13 @@ static int __init opti621_ide_init(void) | |||
230 | return ide_pci_register_driver(&driver); | 231 | return ide_pci_register_driver(&driver); |
231 | } | 232 | } |
232 | 233 | ||
234 | static void __exit opti621_ide_exit(void) | ||
235 | { | ||
236 | pci_unregister_driver(&driver); | ||
237 | } | ||
238 | |||
233 | module_init(opti621_ide_init); | 239 | module_init(opti621_ide_init); |
240 | module_exit(opti621_ide_exit); | ||
234 | 241 | ||
235 | MODULE_AUTHOR("Jaromir Koutek, Jan Harkes, Mark Lord"); | 242 | MODULE_AUTHOR("Jaromir Koutek, Jan Harkes, Mark Lord"); |
236 | MODULE_DESCRIPTION("PCI driver module for Opti621 IDE"); | 243 | MODULE_DESCRIPTION("PCI driver module for Opti621 IDE"); |