[PATCH] usb: storage: fix warning: no previous prototype for 'usb_stor_Bulk_clear_endpt_stall'

Antony Pavlov antonynpavlov at gmail.com
Sat Sep 12 13:34:29 PDT 2015


Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
---
 drivers/usb/storage/transport.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/storage/transport.c b/drivers/usb/storage/transport.c
index ac1fe79..4140991 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);
 }
-- 
2.5.0




More information about the barebox mailing list