net: enetc: use enum enetc_active_offloads

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>
This commit is contained in:
Vladimir Oltean 2021-03-10 14:03:48 +02:00 committed by David S. Miller
parent c027aa9201
commit 7f071a450b

View File

@ -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 */