From 1295a61af738eeabf4a8f50756b89080419947a7 Mon Sep 17 00:00:00 2001 From: Paul Gortmaker Date: Tue, 1 May 2012 17:38:21 -0400 Subject: [PATCH] usb: [MIPS] fix unresolved err() reference in host/ohci-pnx8550.c Commit 996fc05a2d88f9fd4e821d2b7cc532f173d7b25d (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 996fc05a2d88, such as the example seen in the commit ed14a2a187bbb550160e8e7311fefad6de0e75b4: "USB: ohci-xls.c: remove err() usage" Build tested with the MIPS pnx8550-jbs_defconfig settings. Cc: Ralf Baechle Cc: Alan Stern Signed-off-by: Paul Gortmaker Signed-off-by: Greg Kroah-Hartman --- drivers/usb/host/ohci-pnx8550.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb/host/ohci-pnx8550.c b/drivers/usb/host/ohci-pnx8550.c index f13d08f94d6b1..148d27d6a67cf 100644 --- a/drivers/usb/host/ohci-pnx8550.c +++ b/drivers/usb/host/ohci-pnx8550.c @@ -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; } -- 2.39.5