diff options
| -rw-r--r-- | drivers/pci/ioapic.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/pci/ioapic.c b/drivers/pci/ioapic.c index 3c6bbdd059a4..1b90579b233a 100644 --- a/drivers/pci/ioapic.c +++ b/drivers/pci/ioapic.c | |||
| @@ -113,17 +113,6 @@ static struct pci_driver ioapic_driver = { | |||
| 113 | .remove = ioapic_remove, | 113 | .remove = ioapic_remove, |
| 114 | }; | 114 | }; |
| 115 | 115 | ||
| 116 | static int __init ioapic_init(void) | 116 | module_pci_driver(ioapic_driver); |
| 117 | { | ||
| 118 | return pci_register_driver(&ioapic_driver); | ||
| 119 | } | ||
| 120 | |||
| 121 | static void __exit ioapic_exit(void) | ||
| 122 | { | ||
| 123 | pci_unregister_driver(&ioapic_driver); | ||
| 124 | } | ||
| 125 | |||
| 126 | module_init(ioapic_init); | ||
| 127 | module_exit(ioapic_exit); | ||
| 128 | 117 | ||
| 129 | MODULE_LICENSE("GPL"); | 118 | MODULE_LICENSE("GPL"); |
