If there is an vbus session event for udc driver, let the udc core know vbus's status. Signed-off-by: Peter Chen <peter.chen@xxxxxxxxxxxxx> --- include/linux/usb/gadget.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/linux/usb/gadget.h b/include/linux/usb/gadget.h index 2e297e8..7e373a2 100644 --- a/include/linux/usb/gadget.h +++ b/include/linux/usb/gadget.h @@ -531,6 +531,7 @@ struct usb_gadget { unsigned b_hnp_enable:1; unsigned a_hnp_support:1; unsigned a_alt_hnp_support:1; + unsigned vbus_active:1; const char *name; struct device dev; unsigned out_epnum; -- 1.7.0.4 -- 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