usb: gadget: s3c2410: convert to udc_start/udc_stop
[profile/ivi/kernel-x86-ivi.git] / drivers / usb / gadget / s3c2410_udc.h
index 3e80fd5..93bf225 100644 (file)
@@ -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