aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ehci-ppc-of.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host/ehci-ppc-of.c')
-rw-r--r--drivers/usb/host/ehci-ppc-of.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-ppc-of.c b/drivers/usb/host/ehci-ppc-of.c
index 875d2fcc9e0e..547924796d29 100644
--- a/drivers/usb/host/ehci-ppc-of.c
+++ b/drivers/usb/host/ehci-ppc-of.c
@@ -119,7 +119,8 @@ static int ehci_hcd_ppc_of_probe(struct platform_device *op)
119 119
120 irq = irq_of_parse_and_map(dn, 0); 120 irq = irq_of_parse_and_map(dn, 0);
121 if (irq == NO_IRQ) { 121 if (irq == NO_IRQ) {
122 printk(KERN_ERR "%s: irq_of_parse_and_map failed\n", __FILE__); 122 dev_err(&op->dev, "%s: irq_of_parse_and_map failed\n",
123 __FILE__);
123 rv = -EBUSY; 124 rv = -EBUSY;
124 goto err_irq; 125 goto err_irq;
125 } 126 }
@@ -169,6 +170,7 @@ static int ehci_hcd_ppc_of_probe(struct platform_device *op)
169 if (rv) 170 if (rv)
170 goto err_ioremap; 171 goto err_ioremap;
171 172
173 device_wakeup_enable(hcd->self.controller);
172 return 0; 174 return 0;
173 175
174err_ioremap: 176err_ioremap: