Skip to content

Commit 86ff736

Browse files
QSchulzdavem330
authored andcommitted
net: phy: mscc: the extended page access register is 16 bits
The Extended Page Access is a 16-bit register, so change the page parameter of vsc85xx_phy_page_set to a u16. Signed-off-by: Quentin Schulz <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Reviewed-by: Alexandre Belloni <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent ad13acc commit 86ff736

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/phy/mscc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ static const struct vsc8531_edge_rate_table edge_table[] = {
123123
};
124124
#endif /* CONFIG_OF_MDIO */
125125

126-
static int vsc85xx_phy_page_set(struct phy_device *phydev, u8 page)
126+
static int vsc85xx_phy_page_set(struct phy_device *phydev, u16 page)
127127
{
128128
int rc;
129129

0 commit comments

Comments
 (0)