aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/at803x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/phy/at803x.c')
-rw-r--r--drivers/net/phy/at803x.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/net/phy/at803x.c b/drivers/net/phy/at803x.c
index fdc1b418fa6a..f80e19ac6704 100644
--- a/drivers/net/phy/at803x.c
+++ b/drivers/net/phy/at803x.c
@@ -352,19 +352,7 @@ static struct phy_driver at803x_driver[] = {
352 }, 352 },
353} }; 353} };
354 354
355static int __init atheros_init(void) 355module_phy_driver(at803x_driver);
356{
357 return phy_drivers_register(at803x_driver,
358 ARRAY_SIZE(at803x_driver));
359}
360
361static void __exit atheros_exit(void)
362{
363 phy_drivers_unregister(at803x_driver, ARRAY_SIZE(at803x_driver));
364}
365
366module_init(atheros_init);
367module_exit(atheros_exit);
368 356
369static struct mdio_device_id __maybe_unused atheros_tbl[] = { 357static struct mdio_device_id __maybe_unused atheros_tbl[] = {
370 { ATH8030_PHY_ID, 0xffffffef }, 358 { ATH8030_PHY_ID, 0xffffffef },