summaryrefslogtreecommitdiff
path: root/drivers/of
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2015-02-17 05:36:58 +0300
committerRob Herring <robh@kernel.org>2015-03-02 17:08:40 +0300
commit0d1886df6f770f881daa275fc2d3aae0c1cb5c9d (patch)
tree728aa772c36357ce87a854dd39be5f2ae4ab1a99 /drivers/of
parent388404a31297793beff8778324652a09f9dc6157 (diff)
downloadlinux-0d1886df6f770f881daa275fc2d3aae0c1cb5c9d.tar.xz
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')
-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"