diff options
author | Steve Lin <stlin@nvidia.com> | 2012-02-14 14:26:03 -0800 |
---|---|---|
committer | Lokesh Pathak <lpathak@nvidia.com> | 2012-02-21 09:11:49 -0800 |
commit | 713a1581efdb741559b18e2f00cbe53dda0f5b97 (patch) | |
tree | fadac1da2a40ebbab7655c43fdd70c1c38e713ca | |
parent | 09041edc214ed1d0155e292e44bbbb0e6994e797 (diff) |
usb: cdc-acm: Fix compilation warning in cdc-acm driver.
Bug 934177
Change-Id: If101278cf553bd92ad98a9485cedf0c3bf1df39a
Signed-off-by: Steve Lin <stlin@nvidia.com>
Reviewed-on: http://git-master/r/83913
-rw-r--r-- | drivers/usb/class/cdc-acm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c index d3bb2fc7fe2b..e1331590909c 100644 --- a/drivers/usb/class/cdc-acm.c +++ b/drivers/usb/class/cdc-acm.c @@ -1381,11 +1381,12 @@ static int acm_suspend(struct usb_interface *intf, pm_message_t message) static int acm_resume(struct usb_interface *intf) { struct acm *acm = usb_get_intfdata(intf); - struct acm_wb *wb; int rv = 0; int cnt; #ifdef CONFIG_PM struct urb *res; +#else + struct acm_wb *wb; #endif spin_lock_irq(&acm->read_lock); |