diff options
author | Felipe Balbi <balbi@ti.com> | 2013-01-24 09:40:21 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-01-24 20:11:28 +0100 |
commit | 950b3c1dac494da885401ad46c8b3de74e02152e (patch) | |
tree | 2c0cfa0c0369b01fe6a90f2c31a851126774ac8d /drivers/usb/gadget/goku_udc.h | |
parent | usb: gadget: fusb300_udc: convert to udc_start/udc_stop (diff) | |
download | linux-950b3c1dac494da885401ad46c8b3de74e02152e.tar.xz linux-950b3c1dac494da885401ad46c8b3de74e02152e.zip |
usb: gadget: goku_udc: convert to udc_start/udc_stop
Mechanical change making use of the new (can we
still call it new ?) interface for registering
UDC drivers.
Signed-off-by: Felipe Balbi <balbi@ti.com>
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 { /* statistics... */ unsigned long irqs; }; +#define to_goku_udc(g) (container_of((g), struct goku_udc, gadget)) /*-------------------------------------------------------------------------*/ |