net: freescale: ucc_geth: Use the correct type to store WoL opts

The WoL opts are represented through a bitmask stored in a u32. As this
mask is copied as-is in the driver, make sure we use the exact same type
to store them internally.

Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Maxime Chevallier
2024-12-03 13:43:16 +01:00
committed by David S. Miller
parent d2adc441a1
commit 420d56e4de

View File

@@ -1216,7 +1216,7 @@ struct ucc_geth_private {
int oldspeed;
int oldduplex;
int oldlink;
int wol_en;
u32 wol_en;
u32 phy_wol_en;
struct device_node *node;