diff options
Diffstat (limited to 'drivers/mfd/cs5535-mfd.c')
-rw-r--r-- | drivers/mfd/cs5535-mfd.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/mfd/cs5535-mfd.c b/drivers/mfd/cs5535-mfd.c index 315fef5d466a..3419e726de47 100644 --- a/drivers/mfd/cs5535-mfd.c +++ b/drivers/mfd/cs5535-mfd.c | |||
@@ -186,18 +186,7 @@ static struct pci_driver cs5535_mfd_driver = { | |||
186 | .remove = __devexit_p(cs5535_mfd_remove), | 186 | .remove = __devexit_p(cs5535_mfd_remove), |
187 | }; | 187 | }; |
188 | 188 | ||
189 | static int __init cs5535_mfd_init(void) | 189 | module_pci_driver(cs5535_mfd_driver); |
190 | { | ||
191 | return pci_register_driver(&cs5535_mfd_driver); | ||
192 | } | ||
193 | |||
194 | static void __exit cs5535_mfd_exit(void) | ||
195 | { | ||
196 | pci_unregister_driver(&cs5535_mfd_driver); | ||
197 | } | ||
198 | |||
199 | module_init(cs5535_mfd_init); | ||
200 | module_exit(cs5535_mfd_exit); | ||
201 | 190 | ||
202 | MODULE_AUTHOR("Andres Salomon <dilinger@queued.net>"); | 191 | MODULE_AUTHOR("Andres Salomon <dilinger@queued.net>"); |
203 | MODULE_DESCRIPTION("MFD driver for CS5535/CS5536 southbridge's ISA PCI device"); | 192 | MODULE_DESCRIPTION("MFD driver for CS5535/CS5536 southbridge's ISA PCI device"); |