From 47bb2a3600e473ab700af0d88f44d596d6877724 Mon Sep 17 00:00:00 2001 From: Jack Pham Date: Tue, 21 Apr 2015 09:13:54 -0700 Subject: usb: gadget: Add remote_wakeup to struct usb_gadget This variable keeps track of when remote_wakeup feature has been enabled by the host. It is needed for certain function drivers to perform alternate methods during suspend/resume. Signed-off-by: Jack Pham --- include/linux/usb/gadget.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/linux/usb') diff --git a/include/linux/usb/gadget.h b/include/linux/usb/gadget.h index add634bc4baa..d797f68c3753 100644 --- a/include/linux/usb/gadget.h +++ b/include/linux/usb/gadget.h @@ -648,6 +648,7 @@ struct usb_gadget { unsigned deactivated:1; unsigned connected:1; bool l1_supported; + bool remote_wakeup; }; #define work_to_gadget(w) (container_of((w), struct usb_gadget, work)) -- cgit v1.2.3