From 4d90f44e6ed2f40081ffa7cfbd2d78fc85d44436 Mon Sep 17 00:00:00 2001 From: Antony Pavlov Date: Sat, 12 Sep 2015 23:34:29 +0300 Subject: usb: storage: fix warning: no previous prototype for 'usb_stor_Bulk_clear_endpt_stall' Signed-off-by: Antony Pavlov Signed-off-by: Sascha Hauer --- drivers/usb/storage/transport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers') diff --git a/drivers/usb/storage/transport.c b/drivers/usb/storage/transport.c index ac1fe79418..4140991340 100644 --- a/drivers/usb/storage/transport.c +++ b/drivers/usb/storage/transport.c @@ -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); } -- cgit v1.2.3