diff options
author | Vladimir Oltean | 2021-03-10 14:03:48 +0200 |
---|---|---|
committer | David S. Miller | 2021-03-10 13:14:15 -0800 |
commit | 7f071a450b08801a14c4f6eecdb6881492dd8860 (patch) | |
tree | 0e24d5022bd921c74647b842c51ba34f3471b14a /drivers/net/ethernet | |
parent | c027aa9201eb9af8067282d4b8a7ce7523cd3c8d (diff) |
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>
Diffstat (limited to 'drivers/net/ethernet')
-rw-r--r-- | drivers/net/ethernet/freescale/enetc/enetc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/freescale/enetc/enetc.h b/drivers/net/ethernet/freescale/enetc/enetc.h index 30b9ad550d7b..773e412b9f4e 100644 --- a/drivers/net/ethernet/freescale/enetc/enetc.h +++ b/drivers/net/ethernet/freescale/enetc/enetc.h @@ -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 */ |