backports: add usb_translate_errors()
authorPatrick Ziegler <patrick.ziegler@fh-kl.de>
Thu, 15 Aug 2013 12:40:20 +0000 (14:40 +0200)
committerLuis R. Rodriguez <mcgrof@do-not-panic.com>
Fri, 16 Aug 2013 02:56:27 +0000 (19:56 -0700)
commitaee2dc1d7fd03d3900e06e88793b519e21049de0
tree2befea60a024927a6a7269354aec991809db3520
parentd925118f2c7771613708d97ffb2b35cd50e5de0f
backports: add usb_translate_errors()

This inline function is missing for version < 2.6.39 but required by em28xx
and cdc-wdm device driver.

Signed-off-by: Patrick Ziegler <patrick.ziegler@fh-kl.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
backport/backport-include/linux/usb.h