Skip to content

Commit

Permalink
net: enetc: use enum enetc_active_offloads
Browse files Browse the repository at this point in the history
The active_offloads variable of enetc_ndev_priv has an enum type, use it.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Vladimir Oltean authored and David S. Miller committed Mar 10, 2021
1 parent c027aa9 commit 7f071a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/freescale/enetc/enetc.h
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ struct enetc_ndev_priv {
u16 rx_bd_count, tx_bd_count;

u16 msg_enable;
int active_offloads;
enum enetc_active_offloads active_offloads;

u32 speed; /* store speed for compare update pspeed */

Expand Down

0 comments on commit 7f071a4

Please sign in to comment.