Commit ade749a6 authored by Paul Gortmaker's avatar Paul Gortmaker Committed by Greg Kroah-Hartman

usb: [ARM] fix unresolved err() reference in host/ohci-pxa27x.c

Commit af4e1ee0 (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 af4e1ee0, such as the example seen in
the commit d57b1772:

    "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: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 50447d74
...@@ -419,7 +419,8 @@ ohci_pxa27x_start (struct usb_hcd *hcd) ...@@ -419,7 +419,8 @@ ohci_pxa27x_start (struct usb_hcd *hcd)
return ret; return ret;
if ((ret = ohci_run (ohci)) < 0) { 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); ohci_stop (hcd);
return ret; return ret;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment