diff options
Diffstat (limited to 'include/linux/usb/otg.h')
| -rw-r--r-- | include/linux/usb/otg.h | 6 | 
1 files changed, 5 insertions, 1 deletions
diff --git a/include/linux/usb/otg.h b/include/linux/usb/otg.h index e007074ebe41..1db25d152ad8 100644 --- a/include/linux/usb/otg.h +++ b/include/linux/usb/otg.h  | |||
| @@ -1,11 +1,13 @@ | |||
| 1 | /* USB OTG (On The Go) defines */ | 1 | /* USB OTG (On The Go) defines */ | 
| 2 | |||
| 3 | /* | 2 | /* | 
| 3 | * | ||
| 4 | * These APIs may be used between USB controllers. USB device drivers | 4 | * These APIs may be used between USB controllers. USB device drivers | 
| 5 | * (for either host or peripheral roles) don't use these calls; they | 5 | * (for either host or peripheral roles) don't use these calls; they | 
| 6 | * continue to use just usb_device and usb_gadget. | 6 | * continue to use just usb_device and usb_gadget. | 
| 7 | */ | 7 | */ | 
| 8 | 8 | ||
| 9 | #ifndef __LINUX_USB_OTG_H | ||
| 10 | #define __LINUX_USB_OTG_H | ||
| 9 | 11 | ||
| 10 | /* OTG defines lots of enumeration states before device reset */ | 12 | /* OTG defines lots of enumeration states before device reset */ | 
| 11 | enum usb_otg_state { | 13 | enum usb_otg_state { | 
| @@ -129,3 +131,5 @@ otg_start_srp(struct otg_transceiver *otg) | |||
| 129 | 131 | ||
| 130 | /* for OTG controller drivers (and maybe other stuff) */ | 132 | /* for OTG controller drivers (and maybe other stuff) */ | 
| 131 | extern int usb_bus_start_enum(struct usb_bus *bus, unsigned port_num); | 133 | extern int usb_bus_start_enum(struct usb_bus *bus, unsigned port_num); | 
| 134 | |||
| 135 | #endif /* __LINUX_USB_OTG_H */ | ||
