diff options
author | Mike Lockwood <lockwood@android.com> | 2010-06-27 20:05:55 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:38:06 -0800 |
commit | 7b5e39ee0664d185da2e72ce669eb11c0fea2138 (patch) | |
tree | 50e584d166d757f0f6a4eb01cb18fbfc0b217194 /include/linux/usb | |
parent | 33acf875878b701ddb29d9696256d7e76f48541c (diff) |
USB: gadget: composite: Move switch_set_state calls to a work queue
Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'include/linux/usb')
-rw-r--r-- | include/linux/usb/composite.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/usb/composite.h b/include/linux/usb/composite.h index f9ca73feb9ea..9405ea22f566 100644 --- a/include/linux/usb/composite.h +++ b/include/linux/usb/composite.h @@ -376,6 +376,7 @@ struct usb_composite_dev { spinlock_t lock; struct switch_dev sdev; + struct work_struct switch_work; }; extern int usb_string_id(struct usb_composite_dev *c); |