of/overlay: Directly include idr.h
authorMark Brown <broonie@kernel.org>
Tue, 17 Feb 2015 02:35:02 +0000 (11:35 +0900)
committerMark Brown <broonie@kernel.org>
Tue, 17 Feb 2015 02:56:15 +0000 (11:56 +0900)
The overlay code uses IDRs but does not explicitly include the header
providing the interface, instead relying on an implicit inclusion. Make
the dependency implict to avoid potential future build issues if the
implicit inclusion goes away.

Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/of/overlay.c

index 352b4f28f82cd729fb842a210e7460ff9f123833..406664801cb5045d72959b2decf5924446a4f2a0 100644 (file)
@@ -19,6 +19,7 @@
 #include <linux/string.h>
 #include <linux/slab.h>
 #include <linux/err.h>
+#include <linux/idr.h>
 
 #include "of_private.h"