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>
This commit is contained in:
Roger Quadros 2016-03-30 12:56:29 +03:00 • committed by Peter Chen
commit 4e332df634
2 changed files with 5 additions and 6 deletions