[PATCH 3.12 002/142] usb: host: ohci-spear: fix ohci_dump parameters

From: Jiri Slaby
Date: Fri Sep 26 2014 - 06:29:52 EST


From: Vincent Stehlà <vincent.stehle@xxxxxxxxxxx>

3.12-stable review patch. If anyone has any objections, please let me know.

===============

Commit 6a04d05acfb51355 ("USB: OHCI: fix bugs in debug routines") has removed
the unused `verbose' argument of the debug function ohci_dump(); adapt
ohci-spear accordingly.

This fixes the following compilation error:

drivers/usb/host/ohci-spear.c: In function âohci_spear_startâ:
drivers/usb/host/ohci-spear.c:56:2: error: too many arguments to function âohci_dumpâ

Signed-off-by: Vincent Stehlà <vincent.stehle@xxxxxxxxxxx>
Acked-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>
Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Signed-off-by: Jiri Slaby <jslaby@xxxxxxx>
---
drivers/usb/host/ohci-spear.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/host/ohci-spear.c b/drivers/usb/host/ohci-spear.c
index cc9dd9e4f05e..45f87735b449 100644
--- a/drivers/usb/host/ohci-spear.c
+++ b/drivers/usb/host/ohci-spear.c
@@ -53,7 +53,7 @@ static int ohci_spear_start(struct usb_hcd *hcd)
create_debug_files(ohci);

#ifdef DEBUG
- ohci_dump(ohci, 1);
+ ohci_dump(ohci);
#endif
return 0;
}
--
2.1.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/