commit | 97f2a5893ca539bfc308c8abf0a36d678305c854 | [log] [tgz] |
---|---|---|
author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | Thu Apr 26 23:13:38 2018 +0200 |
committer | Marc Kleine-Budde <mkl@pengutronix.de> | Fri Jul 27 10:40:16 2018 +0200 |
tree | 2bc95102a055f274dd60f0d0b63aa28d5c2f6d66 | |
parent | 79b110bb0b608a4f7d03d6d6a0d8eb03453d65cc [diff] |
can: xilinx: fix xcan_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> Acked-by: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>