usb: musb: Fix broken use of static variable for multiple instances
[GitHub/LineageOS/android_kernel_motorola_exynos9610.git] / drivers / usb / musb / musb_core.h
index 2cb88a498f8a5681265654e079456e0ae944667e..c04abf424c5c234faa94cf1f8795a1fd19aefe4a 100644 (file)
@@ -385,6 +385,8 @@ struct musb {
        int                     a_wait_bcon;    /* VBUS timeout in msecs */
        unsigned long           idle_timeout;   /* Next timeout in jiffies */
 
+       unsigned                is_initialized:1;
+
        /* active means connected and not suspended */
        unsigned                is_active:1;