aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ohci-ppc-of.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host/ohci-ppc-of.c')
-rw-r--r--drivers/usb/host/ohci-ppc-of.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/usb/host/ohci-ppc-of.c b/drivers/usb/host/ohci-ppc-of.c
index d24cc89de16f..e27d5ae2b9eb 100644
--- a/drivers/usb/host/ohci-ppc-of.c
+++ b/drivers/usb/host/ohci-ppc-of.c
@@ -29,7 +29,8 @@ ohci_ppc_of_start(struct usb_hcd *hcd)
29 return ret; 29 return ret;
30 30
31 if ((ret = ohci_run(ohci)) < 0) { 31 if ((ret = ohci_run(ohci)) < 0) {
32 err("can't start %s", ohci_to_hcd(ohci)->self.bus_name); 32 dev_err(hcd->self.controller, "can't start %s\n",
33 hcd->self.bus_name);
33 ohci_stop(hcd); 34 ohci_stop(hcd);
34 return ret; 35 return ret;
35 } 36 }
@@ -236,7 +237,7 @@ MODULE_DEVICE_TABLE(of, ohci_hcd_ppc_of_match);
236 237
237#if !defined(CONFIG_USB_OHCI_HCD_PPC_OF_BE) && \ 238#if !defined(CONFIG_USB_OHCI_HCD_PPC_OF_BE) && \
238 !defined(CONFIG_USB_OHCI_HCD_PPC_OF_LE) 239 !defined(CONFIG_USB_OHCI_HCD_PPC_OF_LE)
239#error "No endianess selected for ppc-of-ohci" 240#error "No endianness selected for ppc-of-ohci"
240#endif 241#endif
241 242
242 243