diff options
author | YueHaibing <yuehaibing@huawei.com> | 2018-09-21 05:44:05 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-22 04:15:15 +0200 |
commit | 648c361a568dcd098a3496c6c66bca4c8473e52b (patch) | |
tree | 9820aedde867c61a66dc6c4c2009ca5e3aaa1d56 /drivers/net/ethernet/cirrus/cs89x0.h | |
parent | net: wiznet: fix return type of ndo_start_xmit function (diff) | |
download | linux-648c361a568dcd098a3496c6c66bca4c8473e52b.tar.xz linux-648c361a568dcd098a3496c6c66bca4c8473e52b.zip |
net: i825xx: fix return type of ndo_start_xmit function
The method ndo_start_xmit() is defined as returning an 'netdev_tx_t',
which is a typedef for an enum type, so make sure the implementation in
this driver has returns 'netdev_tx_t' value, and change the function
return type to netdev_tx_t.
Found by coccinelle.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cirrus/cs89x0.h')
0 files changed, 0 insertions, 0 deletions