> > On Tue, Apr 22, 2014 at 08:45:24AM +0800, Li Jun wrote: > > From: Li Jun <b47624@xxxxxxxxxxxxx> > > > > This patch exports symbol of otg_statemachine for kernel module can > > use it. > > > > Signed-off-by: Li Jun <b47624@xxxxxxxxxxxxx> > > --- > > drivers/usb/phy/phy-fsm-usb.c | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/drivers/usb/phy/phy-fsm-usb.c > > b/drivers/usb/phy/phy-fsm-usb.c index c47e5a6..a62d8c8 100644 > > --- a/drivers/usb/phy/phy-fsm-usb.c > > +++ b/drivers/usb/phy/phy-fsm-usb.c > > @@ -363,3 +363,4 @@ int otg_statemachine(struct otg_fsm *fsm) > > VDBG("quit statemachine, changed = %d\n", state_changed); > > return state_changed; > > } > > +EXPORT_SYMBOL_GPL(otg_statemachine); > > Hah! I knew someone would need this FSM as a standalone library :-) > > I'll ack this, but it doesn't look like this should be in the PHY > directory anymore, we can sort that out later: > > Acked-by: Felipe Balbi <balbi@xxxxxx> > Thanks, I will do that after I send this chipidea OTG patchset to Greg. Peter -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html