diff options
Diffstat (limited to 'drivers/ata/pata_jmicron.c')
-rw-r--r-- | drivers/ata/pata_jmicron.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/ata/pata_jmicron.c b/drivers/ata/pata_jmicron.c index cb3babbb7035..76e739b031b6 100644 --- a/drivers/ata/pata_jmicron.c +++ b/drivers/ata/pata_jmicron.c | |||
@@ -164,18 +164,7 @@ static struct pci_driver jmicron_pci_driver = { | |||
164 | #endif | 164 | #endif |
165 | }; | 165 | }; |
166 | 166 | ||
167 | static int __init jmicron_init(void) | 167 | module_pci_driver(jmicron_pci_driver); |
168 | { | ||
169 | return pci_register_driver(&jmicron_pci_driver); | ||
170 | } | ||
171 | |||
172 | static void __exit jmicron_exit(void) | ||
173 | { | ||
174 | pci_unregister_driver(&jmicron_pci_driver); | ||
175 | } | ||
176 | |||
177 | module_init(jmicron_init); | ||
178 | module_exit(jmicron_exit); | ||
179 | 168 | ||
180 | MODULE_AUTHOR("Alan Cox"); | 169 | MODULE_AUTHOR("Alan Cox"); |
181 | MODULE_DESCRIPTION("SCSI low-level driver for Jmicron PATA ports"); | 170 | MODULE_DESCRIPTION("SCSI low-level driver for Jmicron PATA ports"); |