mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 11:23:09 -04:00
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:
committed by
David S. Miller
parent
d2adc441a1
commit
420d56e4de
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user