diff options
author | Felipe Balbi <balbi@ti.com> | 2013-01-24 16:20:46 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-01-24 20:11:32 +0100 |
commit | 4991e102c11524aff42ce3a0e7caeb6e5577808c (patch) | |
tree | bbbed30a39ee243dba4195d5e852864a242d7e3e /drivers/usb/gadget/s3c2410_udc.h | |
parent | usb: gadget: pxa27x_udc: convert to udc_start/udc_stop (diff) | |
download | linux-4991e102c11524aff42ce3a0e7caeb6e5577808c.tar.xz linux-4991e102c11524aff42ce3a0e7caeb6e5577808c.zip |
usb: gadget: s3c2410: 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/s3c2410_udc.h')
-rw-r--r-- | drivers/usb/gadget/s3c2410_udc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/s3c2410_udc.h b/drivers/usb/gadget/s3c2410_udc.h index 3e80fd5c820f..93bf225f1969 100644 --- a/drivers/usb/gadget/s3c2410_udc.h +++ b/drivers/usb/gadget/s3c2410_udc.h @@ -95,5 +95,6 @@ struct s3c2410_udc { u8 vbus; struct dentry *regs_info; }; +#define to_s3c2410(g) (container_of((g), struct s3c2410_udc, gadget)) #endif |