summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/freescale
diff options
context:
space:
mode:
authorMaxime Chevallier <maxime.chevallier@bootlin.com>2024-12-03 13:43:16 +0100
committerDavid S. Miller <davem@davemloft.net>2024-12-06 13:41:52 +0000
commit420d56e4de5247b78fa1e1d5084f246e547e95a9 (patch)
tree6c9c288b8132482907915c359001052f255f052f /drivers/net/ethernet/freescale
parentd2adc441a19a592ce104e2b257ad9d002eaec53f (diff)
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>
Diffstat (limited to 'drivers/net/ethernet/freescale')
-rw-r--r--drivers/net/ethernet/freescale/ucc_geth.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/freescale/ucc_geth.h b/drivers/net/ethernet/freescale/ucc_geth.h
index e08cfc8d8904..60fd804a616a 100644
--- a/drivers/net/ethernet/freescale/ucc_geth.h
+++ b/drivers/net/ethernet/freescale/ucc_geth.h
@@ -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;