diff options
| author | Roger Quadros <rogerq@ti.com> | 2016-03-30 05:56:29 -0400 |
|---|---|---|
| committer | Peter Chen <peter.chen@nxp.com> | 2016-04-06 05:15:03 -0400 |
| commit | 4e332df63487418ec512c3c376c07df9ab3ae035 (patch) | |
| tree | 05b27c723055b5aaa579243ea197a5a81e772bb1 /include/linux/usb | |
| parent | fa59507f720077a856c9952a31cfd45cd97ef6f9 (diff) | |
usb: otg-fsm: support multiple instances
Move the state_changed variable into struct otg_fsm
so that we can support multiple instances.
Signed-off-by: Roger Quadros <rogerq@ti.com>
Acked-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Diffstat (limited to 'include/linux/usb')
| -rw-r--r-- | include/linux/usb/otg-fsm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/usb/otg-fsm.h b/include/linux/usb/otg-fsm.h index 8eec0c261be5..7a0350535cb1 100644 --- a/include/linux/usb/otg-fsm.h +++ b/include/linux/usb/otg-fsm.h | |||
| @@ -210,6 +210,7 @@ struct otg_fsm { | |||
| 210 | struct mutex lock; | 210 | struct mutex lock; |
| 211 | u8 *host_req_flag; | 211 | u8 *host_req_flag; |
| 212 | struct delayed_work hnp_polling_work; | 212 | struct delayed_work hnp_polling_work; |
| 213 | bool state_changed; | ||
| 213 | }; | 214 | }; |
| 214 | 215 | ||
| 215 | struct otg_fsm_ops { | 216 | struct otg_fsm_ops { |
