diff options
author | Maxime Chevallier <maxime.chevallier@bootlin.com> | 2024-12-03 13:43:16 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-12-06 13:41:52 +0000 |
commit | 420d56e4de5247b78fa1e1d5084f246e547e95a9 (patch) | |
tree | 6c9c288b8132482907915c359001052f255f052f /drivers/net/ethernet/freescale | |
parent | d2adc441a19a592ce104e2b257ad9d002eaec53f (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.h | 2 |
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; |