aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_mpiix.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/pata_mpiix.c')
-rw-r--r--drivers/ata/pata_mpiix.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/ata/pata_mpiix.c b/drivers/ata/pata_mpiix.c
index 9dc16df84191..1f5f28bb0bb8 100644
--- a/drivers/ata/pata_mpiix.c
+++ b/drivers/ata/pata_mpiix.c
@@ -230,21 +230,10 @@ static struct pci_driver mpiix_pci_driver = {
230#endif 230#endif
231}; 231};
232 232
233static int __init mpiix_init(void) 233module_pci_driver(mpiix_pci_driver);
234{
235 return pci_register_driver(&mpiix_pci_driver);
236}
237
238static void __exit mpiix_exit(void)
239{
240 pci_unregister_driver(&mpiix_pci_driver);
241}
242 234
243MODULE_AUTHOR("Alan Cox"); 235MODULE_AUTHOR("Alan Cox");
244MODULE_DESCRIPTION("low-level driver for Intel MPIIX"); 236MODULE_DESCRIPTION("low-level driver for Intel MPIIX");
245MODULE_LICENSE("GPL"); 237MODULE_LICENSE("GPL");
246MODULE_DEVICE_TABLE(pci, mpiix); 238MODULE_DEVICE_TABLE(pci, mpiix);
247MODULE_VERSION(DRV_VERSION); 239MODULE_VERSION(DRV_VERSION);
248
249module_init(mpiix_init);
250module_exit(mpiix_exit);