can: janz-ican3: fix ican3_xmit()'s return type
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
Thu, 26 Apr 2018 21:13:36 +0000 (23:13 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 27 Jul 2018 08:40:16 +0000 (10:40 +0200)
commit67c2eef22e2b5cdc45dad51bb36277362c04bccc
tree71c57a20156f710834252415c01df2c7bd4ada15
parent038709071328ff68a936c6b8c33a24a805eea3c5
can: janz-ican3: fix ican3_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>
drivers/net/can/janz-ican3.c