Explorar el Código

of/overlay: Directly include idr.h

The overlay code uses IDRs but does not explicitly include the header
providing the interface, instead relying on an implicit inclusion. Make
the dependency explicit to avoid potential future build issues if the
implicit inclusion goes away.

Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Mark Brown hace 10 años
padre
commit
0d1886df6f
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      drivers/of/overlay.c

+ 1 - 0
drivers/of/overlay.c

@@ -19,6 +19,7 @@
 #include <linux/string.h>
 #include <linux/slab.h>
 #include <linux/err.h>
+#include <linux/idr.h>
 
 #include "of_private.h"