aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/can/xilinx_can.c
diff options
context:
space:
mode:
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2018-04-26 23:13:37 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2018-07-27 10:40:16 +0200
commit79b110bb0b608a4f7d03d6d6a0d8eb03453d65cc (patch)
tree37f4cce0a12444afc6c27ce4d0ae66d54657ebbb /drivers/net/can/xilinx_can.c
parentcan: janz-ican3: fix ican3_xmit()'s return type (diff)
downloadlinux-dev-79b110bb0b608a4f7d03d6d6a0d8eb03453d65cc.tar.xz
linux-dev-79b110bb0b608a4f7d03d6d6a0d8eb03453d65cc.zip
can: sun4i: fix sun4ican_start_xmit()'s return type
The method ndo_start_xmit() is defined as returning an 'netdev_tx_t', which is a typedef for an enum type, but the implementation in this driver returns an 'int'. Fix this by returning 'netdev_tx_t' in this driver too. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/can/xilinx_can.c')
0 files changed, 0 insertions, 0 deletions