diff options
-rw-r--r-- | drivers/uio/uio_aec.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/uio/uio_aec.c b/drivers/uio/uio_aec.c index 1548982db58b..f3611c2d83b6 100644 --- a/drivers/uio/uio_aec.c +++ b/drivers/uio/uio_aec.c | |||
@@ -160,17 +160,5 @@ static struct pci_driver pci_driver = { | |||
160 | .remove = remove, | 160 | .remove = remove, |
161 | }; | 161 | }; |
162 | 162 | ||
163 | static int __init aectc_init(void) | 163 | module_pci_driver(pci_driver); |
164 | { | ||
165 | return pci_register_driver(&pci_driver); | ||
166 | } | ||
167 | |||
168 | static void __exit aectc_exit(void) | ||
169 | { | ||
170 | pci_unregister_driver(&pci_driver); | ||
171 | } | ||
172 | |||
173 | MODULE_LICENSE("GPL"); | 164 | MODULE_LICENSE("GPL"); |
174 | |||
175 | module_init(aectc_init); | ||
176 | module_exit(aectc_exit); | ||