diff options
Diffstat (limited to 'drivers/usb/gadget/udc/pxa27x_udc.h')
-rw-r--r-- | drivers/usb/gadget/udc/pxa27x_udc.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/usb/gadget/udc/pxa27x_udc.h b/drivers/usb/gadget/udc/pxa27x_udc.h index 28f2b53530f5..11e14232794b 100644 --- a/drivers/usb/gadget/udc/pxa27x_udc.h +++ b/drivers/usb/gadget/udc/pxa27x_udc.h | |||
@@ -420,7 +420,8 @@ struct udc_stats { | |||
420 | * @usb_gadget: udc gadget structure | 420 | * @usb_gadget: udc gadget structure |
421 | * @driver: bound gadget (zero, g_ether, g_mass_storage, ...) | 421 | * @driver: bound gadget (zero, g_ether, g_mass_storage, ...) |
422 | * @dev: device | 422 | * @dev: device |
423 | * @mach: machine info, used to activate specific GPIO | 423 | * @udc_command: machine specific function to activate D+ pullup |
424 | * @gpiod: gpio descriptor of gpio for D+ pullup (or NULL if none) | ||
424 | * @transceiver: external transceiver to handle vbus sense and D+ pullup | 425 | * @transceiver: external transceiver to handle vbus sense and D+ pullup |
425 | * @ep0state: control endpoint state machine state | 426 | * @ep0state: control endpoint state machine state |
426 | * @stats: statistics on udc usage | 427 | * @stats: statistics on udc usage |
@@ -446,7 +447,8 @@ struct pxa_udc { | |||
446 | struct usb_gadget gadget; | 447 | struct usb_gadget gadget; |
447 | struct usb_gadget_driver *driver; | 448 | struct usb_gadget_driver *driver; |
448 | struct device *dev; | 449 | struct device *dev; |
449 | struct pxa2xx_udc_mach_info *mach; | 450 | void (*udc_command)(int); |
451 | struct gpio_desc *gpiod; | ||
450 | struct usb_phy *transceiver; | 452 | struct usb_phy *transceiver; |
451 | 453 | ||
452 | enum ep0_state ep0state; | 454 | enum ep0_state ep0state; |