summaryrefslogtreecommitdiffstats
path: root/drivers/of/overlay.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2015-02-17 11:36:58 +0900
committerRob Herring <robh@kernel.org>2015-03-02 08:08:40 -0600
commit0d1886df6f770f881daa275fc2d3aae0c1cb5c9d (patch)
tree728aa772c36357ce87a854dd39be5f2ae4ab1a99 /drivers/of/overlay.c
parent388404a31297793beff8778324652a09f9dc6157 (diff)
downloadlinux-0-day-0d1886df6f770f881daa275fc2d3aae0c1cb5c9d.tar.gz
linux-0-day-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/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 352b4f28f82cd..406664801cb50 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"