mirror of https://gitee.com/openkylin/linux.git
usb: [MIPS] fix unresolved err() reference in host/ohci-au1xxx.c
Commitaf4e1ee040
(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 ofaf4e1ee040
, such as the example seen in the commit d57b177208b6ec20cacd7321ee32ef02f9f9e7fa: "USB: ohci-xls.c: remove err() usage" Build tested with the MIPS gpr_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>
This commit is contained in:
parent
6a23ccd216
commit
3b1f1ad6d1
|
@ -37,7 +37,8 @@ static int __devinit ohci_au1xxx_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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue