[U-Boot] [PATCH 4/8] usb: storage: submit_int_msg -> usb_submit_int_msg

Michal Suchanek msuchanek at suse.de
Mon Jul 1 15:56:41 UTC 2019


Use the wrapper because the unwrapped function prototype will be changed
in next patch.

Signed-off-by: Michal Suchanek <msuchanek at suse.de>
---
 common/usb_storage.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/usb_storage.c b/common/usb_storage.c
index 8c889bb1a648..e589e9addc6a 100644
--- a/common/usb_storage.c
+++ b/common/usb_storage.c
@@ -650,7 +650,7 @@ static int usb_stor_CBI_get_status(struct scsi_cmd *srb, struct us_data *us)
 	int timeout;
 
 	us->ip_wanted = 1;
-	submit_int_msg(us->pusb_dev, us->irqpipe,
+	usb_submit_int_msg(us->pusb_dev, us->irqpipe,
 			(void *) &us->ip_data, us->irqmaxp, us->irqinterval);
 	timeout = 1000;
 	while (timeout--) {
-- 
2.21.0



More information about the U-Boot mailing list