diff options
Diffstat (limited to 'drivers/net/phy/ste10Xp.c')
-rw-r--r-- | drivers/net/phy/ste10Xp.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/drivers/net/phy/ste10Xp.c b/drivers/net/phy/ste10Xp.c index 5e1eb138916f..3fc199b773e6 100644 --- a/drivers/net/phy/ste10Xp.c +++ b/drivers/net/phy/ste10Xp.c | |||
@@ -112,20 +112,7 @@ static struct phy_driver ste10xp_pdriver[] = { | |||
112 | .driver = {.owner = THIS_MODULE,} | 112 | .driver = {.owner = THIS_MODULE,} |
113 | } }; | 113 | } }; |
114 | 114 | ||
115 | static int __init ste10Xp_init(void) | 115 | module_phy_driver(ste10xp_pdriver); |
116 | { | ||
117 | return phy_drivers_register(ste10xp_pdriver, | ||
118 | ARRAY_SIZE(ste10xp_pdriver)); | ||
119 | } | ||
120 | |||
121 | static void __exit ste10Xp_exit(void) | ||
122 | { | ||
123 | phy_drivers_unregister(ste10xp_pdriver, | ||
124 | ARRAY_SIZE(ste10xp_pdriver)); | ||
125 | } | ||
126 | |||
127 | module_init(ste10Xp_init); | ||
128 | module_exit(ste10Xp_exit); | ||
129 | 116 | ||
130 | static struct mdio_device_id __maybe_unused ste10Xp_tbl[] = { | 117 | static struct mdio_device_id __maybe_unused ste10Xp_tbl[] = { |
131 | { STE101P_PHY_ID, 0xfffffff0 }, | 118 | { STE101P_PHY_ID, 0xfffffff0 }, |