diff options
Diffstat (limited to 'drivers/net/phy/icplus.c')
-rw-r--r-- | drivers/net/phy/icplus.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/drivers/net/phy/icplus.c b/drivers/net/phy/icplus.c index 97bf58bf4939..8644f039d922 100644 --- a/drivers/net/phy/icplus.c +++ b/drivers/net/phy/icplus.c | |||
@@ -253,20 +253,7 @@ static struct phy_driver icplus_driver[] = { | |||
253 | .driver = { .owner = THIS_MODULE,}, | 253 | .driver = { .owner = THIS_MODULE,}, |
254 | } }; | 254 | } }; |
255 | 255 | ||
256 | static int __init icplus_init(void) | 256 | module_phy_driver(icplus_driver); |
257 | { | ||
258 | return phy_drivers_register(icplus_driver, | ||
259 | ARRAY_SIZE(icplus_driver)); | ||
260 | } | ||
261 | |||
262 | static void __exit icplus_exit(void) | ||
263 | { | ||
264 | phy_drivers_unregister(icplus_driver, | ||
265 | ARRAY_SIZE(icplus_driver)); | ||
266 | } | ||
267 | |||
268 | module_init(icplus_init); | ||
269 | module_exit(icplus_exit); | ||
270 | 257 | ||
271 | static struct mdio_device_id __maybe_unused icplus_tbl[] = { | 258 | static struct mdio_device_id __maybe_unused icplus_tbl[] = { |
272 | { 0x02430d80, 0x0ffffff0 }, | 259 | { 0x02430d80, 0x0ffffff0 }, |