aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/bcm87xx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/phy/bcm87xx.c')
-rw-r--r--drivers/net/phy/bcm87xx.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/net/phy/bcm87xx.c b/drivers/net/phy/bcm87xx.c
index 799789518e87..1eca20452f03 100644
--- a/drivers/net/phy/bcm87xx.c
+++ b/drivers/net/phy/bcm87xx.c
@@ -216,18 +216,6 @@ static struct phy_driver bcm87xx_driver[] = {
216 .driver = { .owner = THIS_MODULE }, 216 .driver = { .owner = THIS_MODULE },
217} }; 217} };
218 218
219static int __init bcm87xx_init(void) 219module_phy_driver(bcm87xx_driver);
220{
221 return phy_drivers_register(bcm87xx_driver,
222 ARRAY_SIZE(bcm87xx_driver));
223}
224module_init(bcm87xx_init);
225
226static void __exit bcm87xx_exit(void)
227{
228 phy_drivers_unregister(bcm87xx_driver,
229 ARRAY_SIZE(bcm87xx_driver));
230}
231module_exit(bcm87xx_exit);
232 220
233MODULE_LICENSE("GPL"); 221MODULE_LICENSE("GPL");