diff options
author | Mike Lockwood <lockwood@android.com> | 2011-09-19 19:23:32 -0700 |
---|---|---|
committer | Praneeth Bajjuri <praneeth@ti.com> | 2011-09-19 19:23:48 -0700 |
commit | f68d24f1faf863b5e599d24071c26d2a5c44cb75 (patch) | |
tree | a3d24d9183cbb4daa7cde76ea8aee8704079f3d9 /include | |
parent | bfe6624096cca4aed5baf7768aa5cbfdf313e695 (diff) |
USB: gadget: composite: Move switch_set_state calls to a work queue
Change-Id: I7b0a3fcd3b864d7b131071e62b410dc374864219
Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'include')
-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 b78b757f365..6fdb7a2e92e 100644 --- a/include/linux/usb/composite.h +++ b/include/linux/usb/composite.h @@ -374,6 +374,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); |