aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/gadget/inode.c2
-rw-r--r--drivers/usb/gadget/omap_udc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/gadget/inode.c b/drivers/usb/gadget/inode.c
index 4655522a08d9..4a000d846a93 100644
--- a/drivers/usb/gadget/inode.c
+++ b/drivers/usb/gadget/inode.c
@@ -342,7 +342,7 @@ fail:
342static ssize_t 342static ssize_t
343ep_io (struct ep_data *epdata, void *buf, unsigned len) 343ep_io (struct ep_data *epdata, void *buf, unsigned len)
344{ 344{
345 DECLARE_COMPLETION (done); 345 DECLARE_COMPLETION_ONSTACK (done);
346 int value; 346 int value;
347 347
348 spin_lock_irq (&epdata->dev->lock); 348 spin_lock_irq (&epdata->dev->lock);
diff --git a/drivers/usb/gadget/omap_udc.c b/drivers/usb/gadget/omap_udc.c
index 0a64504c2545..8c18df869833 100644
--- a/drivers/usb/gadget/omap_udc.c
+++ b/drivers/usb/gadget/omap_udc.c
@@ -2869,7 +2869,7 @@ cleanup0:
2869 2869
2870static int __exit omap_udc_remove(struct platform_device *pdev) 2870static int __exit omap_udc_remove(struct platform_device *pdev)
2871{ 2871{
2872 DECLARE_COMPLETION(done); 2872 DECLARE_COMPLETION_ONSTACK(done);
2873 2873
2874 if (!udc) 2874 if (!udc)
2875 return -ENODEV; 2875 return -ENODEV;