commit | 43a6dc94213ede7bb531d367292d99b1443ec9ed | [log] [tgz] |
---|---|---|
author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | Tue Apr 24 15:18:41 2018 +0200 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Mon May 21 10:36:14 2018 +0300 |
tree | c7a753e958d91c44d4fcf1c43bc3098761d58bbd | |
parent | d98c624ab3bf9c3c988c3b7d0f24e703061a172f [diff] |
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>