Skip to content

Commit 57fb54a

Browse files
david-mlekuba-moo
authored andcommitted
net: phy: mscc: add VSC8502 to MODULE_DEVICE_TABLE
The mscc driver implements support for VSC8502, so its ID should be in the MODULE_DEVICE_TABLE for automatic loading. Signed-off-by: David Epping <[email protected]> Fixes: d316986 ("net: phy: mscc: add support for VSC8502") Reviewed-by: Vladimir Oltean <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 1de5900 commit 57fb54a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/net/phy/mscc/mscc_main.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2656,6 +2656,7 @@ static struct phy_driver vsc85xx_driver[] = {
26562656
module_phy_driver(vsc85xx_driver);
26572657

26582658
static struct mdio_device_id __maybe_unused vsc85xx_tbl[] = {
2659+
{ PHY_ID_VSC8502, 0xfffffff0, },
26592660
{ PHY_ID_VSC8504, 0xfffffff0, },
26602661
{ PHY_ID_VSC8514, 0xfffffff0, },
26612662
{ PHY_ID_VSC8530, 0xfffffff0, },

0 commit comments

Comments
 (0)