Эх сурвалжийг харах

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 11 жил өмнө
parent
commit
0d1886df6f
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  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"