diff options
author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-04-24 15:18:41 +0200 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2018-04-25 12:46:53 +0300 |
commit | 064b40754291f95121bbdb05645a3a110d0ae346 (patch) | |
tree | 326ce5225b64841772a48ea7fd7304a99724d081 /drivers/target | |
parent | 6d08b06e67cd117f6992c46611dfb4ce267cd71e (diff) | |
download | talos-obmc-linux-064b40754291f95121bbdb05645a3a110d0ae346.tar.gz talos-obmc-linux-064b40754291f95121bbdb05645a3a110d0ae346.zip |
usb: gadget: f_phonet: fix pn_net_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: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/target')
0 files changed, 0 insertions, 0 deletions