diff options
author | Felipe Balbi <balbi@ti.com> | 2013-01-24 17:20:46 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-01-24 21:11:32 +0200 |
commit | 4991e102c11524aff42ce3a0e7caeb6e5577808c (patch) | |
tree | bbbed30a39ee243dba4195d5e852864a242d7e3e /drivers/usb/gadget/s3c2410_udc.h | |
parent | 70189a63d408d4ea0cddbf0ff0afe6020844e813 (diff) | |
download | op-kernel-dev-4991e102c11524aff42ce3a0e7caeb6e5577808c.zip op-kernel-dev-4991e102c11524aff42ce3a0e7caeb6e5577808c.tar.gz |
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 3e80fd5..93bf225 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 |