Skip to content

Commit

Permalink
usb: [MIPS] fix unresolved err() reference in host/ohci-pnx8550.c
Browse files Browse the repository at this point in the history
Commit af4e1ee (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 af4e1ee, such as the example seen in
the commit d57b177:

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

Build tested with the MIPS pnx8550-jbs_defconfig settings.

Cc: Ralf Baechle <ralf@linux-mips.org>
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>
  • Loading branch information
Paul Gortmaker authored and Greg Kroah-Hartman committed May 1, 2012
1 parent 3b1f1ad commit 50447d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/usb/host/ohci-pnx8550.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,8 @@ ohci_pnx8550_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;
}
Expand Down

0 comments on commit 50447d7

Please sign in to comment.