]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
of/overlay: Directly include idr.h
authorMark Brown <broonie@kernel.org>
Tue, 17 Feb 2015 02:36:58 +0000 (11:36 +0900)
committerRob Herring <robh@kernel.org>
Mon, 2 Mar 2015 14:08:40 +0000 (08:08 -0600)
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>
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"