usb: otg-fsm: support multiple instances
authorRoger Quadros <rogerq@ti.com>
Wed, 30 Mar 2016 09:56:29 +0000 (12:56 +0300)
committerPeter Chen <peter.chen@nxp.com>
Wed, 6 Apr 2016 09:15:03 +0000 (17:15 +0800)
commit4e332df63487418ec512c3c376c07df9ab3ae035
tree05b27c723055b5aaa579243ea197a5a81e772bb1
parentfa59507f720077a856c9952a31cfd45cd97ef6f9
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>
drivers/usb/common/usb-otg-fsm.c
include/linux/usb/otg-fsm.h