Convert CONFIG_ARCH_MISC_INIT to Kconfig
[platform/kernel/u-boot.git] / include / dwc3-uboot.h
index 6d1b42a..7af2ad1 100644 (file)
@@ -13,7 +13,7 @@
 #include <linux/usb/otg.h>
 
 struct dwc3_device {
-       int base;
+       unsigned long base;
        enum usb_dr_mode dr_mode;
        u32 maximum_speed;
        unsigned tx_fifo_resize:1;
@@ -33,8 +33,10 @@ struct dwc3_device {
        unsigned dis_u2_susphy_quirk;
        unsigned tx_de_emphasis_quirk;
        unsigned tx_de_emphasis;
+       int index;
 };
 
 int dwc3_uboot_init(struct dwc3_device *dev);
-void dwc3_uboot_exit(void);
+void dwc3_uboot_exit(int index);
+void dwc3_uboot_handle_interrupt(int index);
 #endif /* __DWC3_UBOOT_H_ */