summaryrefslogtreecommitdiffstats
path: root/drivers/of/overlay.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2015-02-17 03:36:58 +0100
committerRob Herring <robh@kernel.org>2015-03-02 15:08:40 +0100
commit0d1886df6f770f881daa275fc2d3aae0c1cb5c9d (patch)
tree728aa772c36357ce87a854dd39be5f2ae4ab1a99 /drivers/of/overlay.c
parentof: Drop superfluous dependance for OF_OVERLAY (diff)
downloadlinux-0d1886df6f770f881daa275fc2d3aae0c1cb5c9d.tar.xz
linux-0d1886df6f770f881daa275fc2d3aae0c1cb5c9d.zip
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>
Diffstat (limited to 'drivers/of/overlay.c')
-rw-r--r--drivers/of/overlay.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/of/overlay.c b/drivers/of/overlay.c
index 352b4f28f82c..406664801cb5 100644
--- a/drivers/of/overlay.c
+++ b/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"