Skip to contentSkip to conversation

usb: r8a6659: Fix build by missing of parenthesis

PATCH New Nobuhiro Iwamatsu 2 participants 2 messages Nov 15, 2012 USB

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 usb: r8a6659: Fix build by missing of parenthesis

By commit c7e3b2b5, this was chanded to support multiple controllers. But this has missing of parenthesis. This commit fix it.

-----
r8a66597-hcd.c: In function ?usb_lowlevel_init?:
r8a66597-hcd.c:911:52: error: expected declaration specifiers before ?)?
token
r8a66597-hcd.c:935:1: error: expected ?=?, ?,?, ?;?, ?asm? or?__attribute__? before ?{? token r8a66597-hcd.c:939:1: error: expected ?{? at end of input
-----

---
 drivers/usb/host/r8a66597-hcd.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/host/r8a66597-hcd.c +1 -1
index 2a4e7ff..aefcf66 100644
@@ -908,7 +908,7 @@ int submit_int_msg(struct usb_device *dev, unsigned long pipe, void *buffer,
 	return 0;
 }
 
-int usb_lowlevel_init(int index, void **controller))
+int usb_lowlevel_init(int index, void **controller)
 {
 	struct r8a66597 *r8a66597 = &gr8a66597;
 
Signature · 1 line
1.7.10.4
Applied
#1 lore raw

PATCH 1/1 usb: r8a6659: Fix build by missing of parenthesis

Dear Nobuhiro Iwamatsu,

Quoted 12 lines

By commit c7e3b2b5, this was chanded to support multiple controllers. But this has missing of parenthesis. This commit fix it.

-----
r8a66597-hcd.c: In function ?usb_lowlevel_init?:
r8a66597-hcd.c:911:52: error: expected declaration specifiers before ?)? token
r8a66597-hcd.c:935:1: error: expected ?=?, ?,?, ?;?, ?asm? or?__attribute__? before ?{? token r8a66597-hcd.c:939:1: error: expected ?{? at end of input
-----

Quoted 2 lines

[...]

Applied, thanks

Best regards,
Marek Vasut