diff options
Diffstat (limited to 'drivers/mfd/rdc321x-southbridge.c')
-rw-r--r-- | drivers/mfd/rdc321x-southbridge.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/mfd/rdc321x-southbridge.c b/drivers/mfd/rdc321x-southbridge.c index 809bd4a61089..685d61e431ad 100644 --- a/drivers/mfd/rdc321x-southbridge.c +++ b/drivers/mfd/rdc321x-southbridge.c | |||
@@ -108,18 +108,7 @@ static struct pci_driver rdc321x_sb_driver = { | |||
108 | .remove = __devexit_p(rdc321x_sb_remove), | 108 | .remove = __devexit_p(rdc321x_sb_remove), |
109 | }; | 109 | }; |
110 | 110 | ||
111 | static int __init rdc321x_sb_init(void) | 111 | module_pci_driver(rdc321x_sb_driver); |
112 | { | ||
113 | return pci_register_driver(&rdc321x_sb_driver); | ||
114 | } | ||
115 | |||
116 | static void __exit rdc321x_sb_exit(void) | ||
117 | { | ||
118 | pci_unregister_driver(&rdc321x_sb_driver); | ||
119 | } | ||
120 | |||
121 | module_init(rdc321x_sb_init); | ||
122 | module_exit(rdc321x_sb_exit); | ||
123 | 112 | ||
124 | MODULE_AUTHOR("Florian Fainelli <florian@openwrt.org>"); | 113 | MODULE_AUTHOR("Florian Fainelli <florian@openwrt.org>"); |
125 | MODULE_LICENSE("GPL"); | 114 | MODULE_LICENSE("GPL"); |