]> git.baikalelectronics.ru Git - kernel.git/commitdiff
usb: [ARM] fix unresolved err() reference in host/ohci-pxa27x.c
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Tue, 1 May 2012 21:36:54 +0000 (17:36 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 1 May 2012 22:36:09 +0000 (18:36 -0400)
Commit bac632462057c62173d12af06da339e158736ef2 (usb-next)

    "USB: remove err() macro"

was preceeded by a tree-wide cleanup of users, however this
one squeaked through the cracks because it had whitespace
between the function name and the bracket for the args.

Map it onto dev_err, just like all the "pre-commits" made
in advance of bac632462057, such as the example seen in
the commit 603f30bf411043eb54c2c4af68d39f5858ef1685:

    "USB: ohci-xls.c: remove err() usage"

Build tested with the ARM magician_defconfig settings.

Cc: Eric Miao <eric.y.miao@gmail.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ohci-pxa27x.c

index c31b2815be1c0443dbddf65b140d432a0130c978..e1a3cc6d28dcc0ba69917bfb7a8b92d96c10c86b 100644 (file)
@@ -419,7 +419,8 @@ ohci_pxa27x_start (struct usb_hcd *hcd)
                return ret;
 
        if ((ret = ohci_run (ohci)) < 0) {
-               err ("can't start %s", hcd->self.bus_name);
+               dev_err(hcd->self.controller, "can't start %s",
+                       hcd->self.bus_name);
                ohci_stop (hcd);
                return ret;
        }