On Tue, Apr 22, 2014 at 08:45:24AM +0800, Li Jun wrote:
> From: Li Jun <b47...@freescale.com>
> 
> This patch exports symbol of otg_statemachine for kernel module
> can use it.
> 
> Signed-off-by: Li Jun <b47...@freescale.com>
> ---
>  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 <ba...@ti.com>

-- 
balbi

Attachment: signature.asc
Description: Digital signature

Reply via email to