net: emac: Fix use correct return type for ndo_start_xmit()
authorYunjian Wang <wangyunjian@huawei.com>
Tue, 5 May 2020 05:57:49 +0000 (13:57 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 May 2020 18:20:23 +0000 (11:20 -0700)
commit3e1853e4e1137ba0a4d314521d153852dbf4aff5
treeaf9b84f4f14e9519f7ebe6cd3a40a7d81f4d055c
parent58618ef85546726cf27c38ddc1b022c703b7a6ad
net: emac: Fix use correct return type for ndo_start_xmit()

The method ndo_start_xmit() returns a value of type netdev_tx_t. Fix
the ndo function to use the correct type.

Signed-off-by: Yunjian Wang <wangyunjian@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qualcomm/emac/emac-mac.c
drivers/net/ethernet/qualcomm/emac/emac-mac.h
drivers/net/ethernet/qualcomm/emac/emac.c