summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/freescale/fec.h
diff options
context:
space:
mode:
authorLothar Waßmann <LW@KARO-electronics.de>2014-11-17 10:51:20 +0100
committerDavid S. Miller <davem@davemloft.net>2014-11-18 21:19:31 +0100
commit217b5844e279c279414fdeb47a89959fad1fbc8f (patch)
tree67d0438070bdc6c030829b473e6479ffa6a505ae /drivers/net/ethernet/freescale/fec.h
parentnet: fec: properly parenthesize macro args (diff)
downloadlinux-217b5844e279c279414fdeb47a89959fad1fbc8f.tar.xz
linux-217b5844e279c279414fdeb47a89959fad1fbc8f.zip
net: fec: change type of 'bufdesc_ex' to bool
fep->bufdesc_ex is treated as a boolean value, thus declare it as such. Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale/fec.h')
-rw-r--r--drivers/net/ethernet/freescale/fec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/freescale/fec.h b/drivers/net/ethernet/freescale/fec.h
index 27e75cfdc490..14188133db95 100644
--- a/drivers/net/ethernet/freescale/fec.h
+++ b/drivers/net/ethernet/freescale/fec.h
@@ -502,7 +502,7 @@ struct fec_enet_private {
int speed;
struct completion mdio_done;
int irq[FEC_IRQ_NUM];
- int bufdesc_ex;
+ bool bufdesc_ex;
int pause_flag;
struct napi_struct napi;