diff options
author | Lothar Waßmann <LW@KARO-electronics.de> | 2014-11-17 10:51:20 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-11-18 15:19:31 -0500 |
commit | 217b5844e279c279414fdeb47a89959fad1fbc8f (patch) | |
tree | 67d0438070bdc6c030829b473e6479ffa6a505ae /drivers/net/ethernet/freescale/fec_main.c | |
parent | df406bc9c0d002ef52671dc7b6887ff1bb9142e9 (diff) | |
download | blackbird-op-linux-217b5844e279c279414fdeb47a89959fad1fbc8f.tar.gz blackbird-op-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_main.c')
-rw-r--r-- | drivers/net/ethernet/freescale/fec_main.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/ethernet/freescale/fec_main.c b/drivers/net/ethernet/freescale/fec_main.c index 3dca494797bd..f3a6379c12a2 100644 --- a/drivers/net/ethernet/freescale/fec_main.c +++ b/drivers/net/ethernet/freescale/fec_main.c @@ -3184,8 +3184,6 @@ fec_probe(struct platform_device *pdev) fep->pdev = pdev; fep->dev_id = dev_id++; - fep->bufdesc_ex = 0; - platform_set_drvdata(pdev, ndev); phy_node = of_parse_phandle(np, "phy-handle", 0); @@ -3243,7 +3241,7 @@ fec_probe(struct platform_device *pdev) pdev->id_entry->driver_data & FEC_QUIRK_HAS_BUFDESC_EX; if (IS_ERR(fep->clk_ptp)) { fep->clk_ptp = NULL; - fep->bufdesc_ex = 0; + fep->bufdesc_ex = false; } ret = fec_enet_clk_enable(ndev, true); |