mirror of https://github.com/hak5/openwrt-owl.git
bcm63xx: fix compilation with kmod-ohci enabled with 3.6
Fixes the following error: drivers/usb/host/ohci-bcm63xx.c: In function 'ohci_bcm63xx_start': drivers/usb/host/ohci-bcm63xx.c:33:3: error: implicit declaration of function 'err' [-Werror=implicit-function-declaration] Reported-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 34138owl
parent
15519bec9c
commit
c54fa281b1
|
@ -31,7 +31,7 @@ Subject: [PATCH 23/63] ohci: add driver for bcm63xx integrated controller.
|
||||||
depends on USB_OHCI_HCD && ARCH_OMAP1
|
depends on USB_OHCI_HCD && ARCH_OMAP1
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/drivers/usb/host/ohci-bcm63xx.c
|
+++ b/drivers/usb/host/ohci-bcm63xx.c
|
||||||
@@ -0,0 +1,175 @@
|
@@ -0,0 +1,176 @@
|
||||||
+/*
|
+/*
|
||||||
+ * This file is subject to the terms and conditions of the GNU General Public
|
+ * This file is subject to the terms and conditions of the GNU General Public
|
||||||
+ * License. See the file "COPYING" in the main directory of this archive
|
+ * License. See the file "COPYING" in the main directory of this archive
|
||||||
|
@ -64,7 +64,8 @@ Subject: [PATCH 23/63] ohci: add driver for bcm63xx integrated controller.
|
||||||
+
|
+
|
||||||
+ ret = ohci_run(ohci);
|
+ ret = ohci_run(ohci);
|
||||||
+ if (ret < 0) {
|
+ if (ret < 0) {
|
||||||
+ err("can't start %s", hcd->self.bus_name);
|
+ dev_err(hcd->self.controller, "can't start %s\n",
|
||||||
|
+ hcd->self.bus_name);
|
||||||
+ ohci_stop(hcd);
|
+ ohci_stop(hcd);
|
||||||
+ return ret;
|
+ return ret;
|
||||||
+ }
|
+ }
|
||||||
|
|
Loading…
Reference in New Issue