9
0
Fork 0

usb: storage: fix warning: no previous prototype for 'usb_stor_Bulk_clear_endpt_stall'

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Antony Pavlov 2015-09-12 23:34:29 +03:00 committed by Sascha Hauer
parent c7b1012923
commit 4d90f44e6e
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ static const unsigned char us_direction[256/8] = {
*/
/* Clear a stall on an endpoint - special for bulk-only devices */
int usb_stor_Bulk_clear_endpt_stall(struct us_data *us, unsigned int pipe)
static int usb_stor_Bulk_clear_endpt_stall(struct us_data *us, unsigned int pipe)
{
return usb_clear_halt(us->pusb_dev, pipe);
}