mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 19:47:08 +02: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:
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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user