USB: move usb_translate_errors to linux/usb.h
authorJohan Hovold <jhovold@gmail.com>
Thu, 10 Nov 2011 13:58:26 +0000 (14:58 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 30 May 2012 23:43:31 +0000 (00:43 +0100)
commit9323f37754016b3fa76419d0e0ad9a56fcf0dd96
tree71a9f29a3f3ed01f8c1042c95892122b0984e20f
parenta756191d7f7f975492a9cc0f43829fcdbe366fe5
USB: move usb_translate_errors to linux/usb.h

commit 2c4d6bf295ae10ffcd84f0df6cb642598eb66603 upstream.

Move usb_translate_errors from usb core to linux/usb.h as it is meant to
be accessed from drivers.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/usb/core/usb.h
include/linux/usb.h