aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ehci.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host/ehci.h')
-rw-r--r--drivers/usb/host/ehci.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci.h b/drivers/usb/host/ehci.h
index ba8eab366b8..d78a781a49b 100644
--- a/drivers/usb/host/ehci.h
+++ b/drivers/usb/host/ehci.h
@@ -145,6 +145,8 @@ struct ehci_hcd { /* one per controller */
unsigned has_hostpc:1;
unsigned has_lpm:1; /* support link power management */
unsigned has_ppcd:1; /* support per-port change bits */
+
+ unsigned has_otg:1; /* if it is otg host*/
u8 sbrn; /* packed release number */
/* irq statistics */
@@ -155,6 +157,10 @@ struct ehci_hcd { /* one per controller */
# define COUNT(x) do {} while (0)
#endif
+ /* otg host has additional bus_suspend and bus_resume */
+ int (*otg_suspend)(struct usb_hcd *hcd);
+ int (*otg_resume)(struct usb_hcd *hcd);
+
/* debug files */
#ifdef DEBUG
struct dentry *debug_dir;