diff options
author | Roger Quadros <rogerq@ti.com> | 2016-03-30 12:56:29 +0300 |
---|---|---|
committer | Peter Chen <peter.chen@nxp.com> | 2016-04-06 17:15:03 +0800 |
commit | 4e332df63487418ec512c3c376c07df9ab3ae035 (patch) | |
tree | 05b27c723055b5aaa579243ea197a5a81e772bb1 /include/linux/usb/otg-fsm.h | |
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/otg-fsm.h')
-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 { struct mutex lock; u8 *host_req_flag; struct delayed_work hnp_polling_work; + bool state_changed; }; struct otg_fsm_ops { |