Changeset 34138


Ignore:
Timestamp:
2012-11-10T23:10:47+01:00 (5 years ago)
Author:
jogo
Message:

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@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/brcm63xx/patches-3.6/400-ohci-add-driver-for-bcm63xx-integrated-controller.patch

    r33936 r34138  
    3232--- /dev/null 
    3333+++ b/drivers/usb/host/ohci-bcm63xx.c 
    34 @@ -0,0 +1,175 @@ 
     34@@ -0,0 +1,176 @@ 
    3535+/* 
    3636+ * This file is subject to the terms and conditions of the GNU General Public 
     
    6565+       ret = ohci_run(ohci); 
    6666+       if (ret < 0) { 
    67 +               err("can't start %s", hcd->self.bus_name); 
     67+               dev_err(hcd->self.controller, "can't start %s\n", 
     68+                       hcd->self.bus_name); 
    6869+               ohci_stop(hcd); 
    6970+               return ret; 
Note: See TracChangeset for help on using the changeset viewer.