MIPS: Octeon: mark GPIO controller node not populated after IRQ init.
[sfrench/cifs-2.6.git] / arch / mips / cavium-octeon / octeon-irq.c
index 5a9b87b7993e49d3fd880816ad2dad0421ac82a6..c1eb1ff7c80017f53e545229fdd6acbb1c91969d 100644 (file)
@@ -1619,6 +1619,12 @@ static int __init octeon_irq_init_gpio(
                return -ENOMEM;
        }
 
+       /*
+        * Clear the OF_POPULATED flag that was set by of_irq_init()
+        * so that all GPIO devices will be probed.
+        */
+       of_node_clear_flag(gpio_node, OF_POPULATED);
+
        return 0;
 }
 /*