diff options
Diffstat (limited to 'drivers/usb/gadget/goku_udc.h')
-rw-r--r-- | drivers/usb/gadget/goku_udc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/goku_udc.h b/drivers/usb/gadget/goku_udc.h index 85cdce0d1901..b4470d2b1d86 100644 --- a/drivers/usb/gadget/goku_udc.h +++ b/drivers/usb/gadget/goku_udc.h | |||
@@ -261,6 +261,7 @@ struct goku_udc { | |||
261 | /* statistics... */ | 261 | /* statistics... */ |
262 | unsigned long irqs; | 262 | unsigned long irqs; |
263 | }; | 263 | }; |
264 | #define to_goku_udc(g) (container_of((g), struct goku_udc, gadget)) | ||
264 | 265 | ||
265 | /*-------------------------------------------------------------------------*/ | 266 | /*-------------------------------------------------------------------------*/ |
266 | 267 | ||