aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/stmicro/stmmac/stmmac.h
diff options
context:
space:
mode:
authorLABBE Corentin <clabbe.montjoie@gmail.com>2017-05-24 09:16:46 +0200
committerDavid S. Miller <davem@davemloft.net>2017-05-25 13:08:35 -0400
commit4d869b03b74d73205956381a967cab7e572144df (patch)
tree0206485bac61b239e40a1b237a3cb45eea8b941e /drivers/net/ethernet/stmicro/stmmac/stmmac.h
parentnet-next: stmmac: use SPEED_xxx instead of raw value (diff)
downloadlinux-dev-4d869b03b74d73205956381a967cab7e572144df.tar.xz
linux-dev-4d869b03b74d73205956381a967cab7e572144df.zip
net-next: stmmac: Convert old_link to bool
This patch convert old_link from int to bool since it store only 1 or 0 Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/stmmac.h')
-rw-r--r--drivers/net/ethernet/stmicro/stmmac/stmmac.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac.h b/drivers/net/ethernet/stmicro/stmmac/stmmac.h
index 33efe7038cab..a916e13624eb 100644
--- a/drivers/net/ethernet/stmicro/stmmac/stmmac.h
+++ b/drivers/net/ethernet/stmicro/stmmac/stmmac.h
@@ -104,7 +104,7 @@ struct stmmac_priv {
/* TX Queue */
struct stmmac_tx_queue tx_queue[MTL_MAX_TX_QUEUES];
- int oldlink;
+ bool oldlink;
int speed;
int oldduplex;
unsigned int flow_ctrl;