aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/marvell.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/phy/marvell.c')
-rw-r--r--drivers/net/phy/marvell.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c
index bb4d780c0838..1b1698f98818 100644
--- a/drivers/net/phy/marvell.c
+++ b/drivers/net/phy/marvell.c
@@ -1120,20 +1120,7 @@ static struct phy_driver marvell_drivers[] = {
1120 }, 1120 },
1121}; 1121};
1122 1122
1123static int __init marvell_init(void) 1123module_phy_driver(marvell_drivers);
1124{
1125 return phy_drivers_register(marvell_drivers,
1126 ARRAY_SIZE(marvell_drivers));
1127}
1128
1129static void __exit marvell_exit(void)
1130{
1131 phy_drivers_unregister(marvell_drivers,
1132 ARRAY_SIZE(marvell_drivers));
1133}
1134
1135module_init(marvell_init);
1136module_exit(marvell_exit);
1137 1124
1138static struct mdio_device_id __maybe_unused marvell_tbl[] = { 1125static struct mdio_device_id __maybe_unused marvell_tbl[] = {
1139 { MARVELL_PHY_ID_88E1101, MARVELL_PHY_ID_MASK }, 1126 { MARVELL_PHY_ID_88E1101, MARVELL_PHY_ID_MASK },