diff options
Diffstat (limited to 'drivers/usb/gadget/ci13xxx_udc.h')
-rw-r--r-- | drivers/usb/gadget/ci13xxx_udc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/gadget/ci13xxx_udc.h b/drivers/usb/gadget/ci13xxx_udc.h index f17ffecc36c2..f605090777ce 100644 --- a/drivers/usb/gadget/ci13xxx_udc.h +++ b/drivers/usb/gadget/ci13xxx_udc.h | |||
@@ -103,6 +103,8 @@ struct ci13xxx_ep { | |||
103 | struct ci13xxx; | 103 | struct ci13xxx; |
104 | struct ci13xxx_udc_driver { | 104 | struct ci13xxx_udc_driver { |
105 | const char *name; | 105 | const char *name; |
106 | /* offset of the capability registers */ | ||
107 | uintptr_t capoffset; | ||
106 | unsigned long flags; | 108 | unsigned long flags; |
107 | #define CI13XXX_REGS_SHARED BIT(0) | 109 | #define CI13XXX_REGS_SHARED BIT(0) |
108 | #define CI13XXX_REQUIRE_TRANSCEIVER BIT(1) | 110 | #define CI13XXX_REQUIRE_TRANSCEIVER BIT(1) |
@@ -144,6 +146,7 @@ struct ci13xxx { | |||
144 | u8 test_mode; /* the selected test mode */ | 146 | u8 test_mode; /* the selected test mode */ |
145 | 147 | ||
146 | struct hw_bank hw_bank; | 148 | struct hw_bank hw_bank; |
149 | int irq; | ||
147 | struct usb_gadget_driver *driver; /* 3rd party gadget driver */ | 150 | struct usb_gadget_driver *driver; /* 3rd party gadget driver */ |
148 | struct ci13xxx_udc_driver *udc_driver; /* device controller driver */ | 151 | struct ci13xxx_udc_driver *udc_driver; /* device controller driver */ |
149 | int vbus_active; /* is VBUS active */ | 152 | int vbus_active; /* is VBUS active */ |