On Mon, Mar 09, 2015 at 10:09:17AM +0800, Li Jun wrote:
> From: Li Jun <b47...@freescale.com>
> 
> Adds host_request_flag for gadget to store host request information from 
> application, which can be used to response to HNP polling from host.
> 
> Signed-off-by: Li Jun <jun...@freescale.com>
> ---
>  include/linux/usb/gadget.h |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/linux/usb/gadget.h b/include/linux/usb/gadget.h
> index e2f00fd..5508c48 100644
> --- a/include/linux/usb/gadget.h
> +++ b/include/linux/usb/gadget.h
> @@ -563,6 +563,7 @@ struct usb_gadget {
>       unsigned                        b_hnp_enable:1;
>       unsigned                        a_hnp_support:1;
>       unsigned                        a_alt_hnp_support:1;
> +     unsigned                        host_request_flag:1;
>       unsigned                        quirk_ep_out_aligned_size:1;
>       unsigned                        is_selfpowered:1;
>  };
> -- 
> 1.7.9.5
> 

Add kernel-doc too.

-- 

Best Regards,
Peter Chen
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to