diff options
author | Nicholas Mc Guire <der.herr@hofr.at> | 2014-12-23 19:50:14 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-01-12 12:13:27 -0600 |
commit | 9f56ce075dd83d6b69e26d4d4fcf49ec703119cf (patch) | |
tree | 9f79be5b38bffd442cf1e843e1044f058cd4729f /drivers/usb/gadget/udc/fsl_udc_core.c | |
parent | 8d252db174ab27485126f540f368149e3c875e5a (diff) | |
download | op-kernel-dev-9f56ce075dd83d6b69e26d4d4fcf49ec703119cf.zip op-kernel-dev-9f56ce075dd83d6b69e26d4d4fcf49ec703119cf.tar.gz |
usb: gadget: cleanup on stack DECLARE_COMPLETIONs
fixups for incorrect use of DECLARE_COMPLETION. see also commit
6e9a4738 ("completions: lockdep annotate on stack completions")
patch is against 3.18.0 linux-next
This was only code reviewed and compile tested
Signed-off-by: Nicholas Mc Guire <der.herr@hofr.at>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/udc/fsl_udc_core.c')
-rw-r--r-- | drivers/usb/gadget/udc/fsl_udc_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/udc/fsl_udc_core.c b/drivers/usb/gadget/udc/fsl_udc_core.c index 2df8074..c3830ad 100644 --- a/drivers/usb/gadget/udc/fsl_udc_core.c +++ b/drivers/usb/gadget/udc/fsl_udc_core.c @@ -2529,7 +2529,7 @@ static int __exit fsl_udc_remove(struct platform_device *pdev) struct resource *res = platform_get_resource(pdev, IORESOURCE_MEM, 0); struct fsl_usb2_platform_data *pdata = dev_get_platdata(&pdev->dev); - DECLARE_COMPLETION(done); + DECLARE_COMPLETION_ONSTACK(done); if (!udc_controller) return -ENODEV; |