diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2012-05-01 17:39:11 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-01 18:36:09 -0400 |
commit | 3b1f1ad6d1a2b4dcbc8f0ad27b6dd05c3ca79d0e (patch) | |
tree | ac6809d7b6765f823ae6cb74301c38cd0b5e2ce1 /drivers/usb/host/ohci-au1xxx.c | |
parent | 6a23ccd216b6a8ba2c67a9f9d8969b4431ad2920 (diff) |
usb: [MIPS] fix unresolved err() reference in host/ohci-au1xxx.c
Commit af4e1ee04026908086d7ed252db2619a8ceaa333 (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 af4e1ee04026, 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>
Diffstat (limited to 'drivers/usb/host/ohci-au1xxx.c')
-rw-r--r-- | drivers/usb/host/ohci-au1xxx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/host/ohci-au1xxx.c b/drivers/usb/host/ohci-au1xxx.c index 4ea63b2cac42..c611699b4aa6 100644 --- a/drivers/usb/host/ohci-au1xxx.c +++ b/drivers/usb/host/ohci-au1xxx.c | |||
@@ -37,7 +37,8 @@ static int __devinit ohci_au1xxx_start(struct usb_hcd *hcd) | |||
37 | return ret; | 37 | return ret; |
38 | 38 | ||
39 | if ((ret = ohci_run(ohci)) < 0) { | 39 | if ((ret = ohci_run(ohci)) < 0) { |
40 | err ("can't start %s", hcd->self.bus_name); | 40 | dev_err(hcd->self.controller, "can't start %s", |
41 | hcd->self.bus_name); | ||
41 | ohci_stop(hcd); | 42 | ohci_stop(hcd); |
42 | return ret; | 43 | return ret; |
43 | } | 44 | } |