Merge tag 'gpio-updates-for-v5.19' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-block.git] / include / linux / gpio / driver.h
index 70865479d2d37329bfc8315dd58af8f30ed72a65..09792529cff2c50a701bd2cb6d8e7f50049a1bb0 100644 (file)
@@ -222,6 +222,15 @@ struct gpio_irq_chip {
         */
        bool per_parent_data;
 
+       /**
+        * @initialized:
+        *
+        * Flag to track GPIO chip irq member's initialization.
+        * This flag will make sure GPIO chip irq members are not used
+        * before they are initialized.
+        */
+       bool initialized;
+
        /**
         * @init_hw: optional routine to initialize hardware before
         * an IRQ chip will be added. This is quite useful when