diff options
Diffstat (limited to 'ANDROID_3.4.5/include/linux/usb/atmel_usba_udc.h')
-rw-r--r-- | ANDROID_3.4.5/include/linux/usb/atmel_usba_udc.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/ANDROID_3.4.5/include/linux/usb/atmel_usba_udc.h b/ANDROID_3.4.5/include/linux/usb/atmel_usba_udc.h new file mode 100644 index 00000000..ba99af27 --- /dev/null +++ b/ANDROID_3.4.5/include/linux/usb/atmel_usba_udc.h @@ -0,0 +1,23 @@ +/* + * Platform data definitions for Atmel USBA gadget driver. + */ +#ifndef __LINUX_USB_USBA_H +#define __LINUX_USB_USBA_H + +struct usba_ep_data { + char *name; + int index; + int fifo_size; + int nr_banks; + int can_dma; + int can_isoc; +}; + +struct usba_platform_data { + int vbus_pin; + int vbus_pin_inverted; + int num_ep; + struct usba_ep_data ep[0]; +}; + +#endif /* __LINUX_USB_USBA_H */ |