aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/u132-hcd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host/u132-hcd.c')
-rw-r--r--drivers/usb/host/u132-hcd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/host/u132-hcd.c b/drivers/usb/host/u132-hcd.c
index 6fca06961559..3033d6945202 100644
--- a/drivers/usb/host/u132-hcd.c
+++ b/drivers/usb/host/u132-hcd.c
@@ -3213,7 +3213,7 @@ static int u132_suspend(struct platform_device *pdev, pm_message_t state)
3213 dev_err(&u132->platform_dev->dev, "device is being removed\n"); 3213 dev_err(&u132->platform_dev->dev, "device is being removed\n");
3214 return -ESHUTDOWN; 3214 return -ESHUTDOWN;
3215 } else { 3215 } else {
3216 int retval = 0; 3216 int retval = 0, ports;
3217 3217
3218 switch (state.event) { 3218 switch (state.event) {
3219 case PM_EVENT_FREEZE: 3219 case PM_EVENT_FREEZE:
@@ -3221,7 +3221,7 @@ static int u132_suspend(struct platform_device *pdev, pm_message_t state)
3221 break; 3221 break;
3222 case PM_EVENT_SUSPEND: 3222 case PM_EVENT_SUSPEND:
3223 case PM_EVENT_HIBERNATE: 3223 case PM_EVENT_HIBERNATE:
3224 int ports = MAX_U132_PORTS; 3224 ports = MAX_U132_PORTS;
3225 while (ports-- > 0) { 3225 while (ports-- > 0) {
3226 port_power(u132, ports, 0); 3226 port_power(u132, ports, 0);
3227 } 3227 }