aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2015-02-17 11:35:02 +0900
committerMark Brown <broonie@kernel.org>2015-02-20 23:41:30 +0900
commit469570a49a1cc82b2b827c0fda5a029dff5bef55 (patch)
treee749a7b0a24513fee0712cf2c1c637b6cc559283
parente6855ef9f7ba899da934771ec5a587c1bea180e0 (diff)
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 implict to avoid potential future build issues if the implicit inclusion goes away. Signed-off-by: Mark Brown <broonie@kernel.org> (cherry picked from commit 82b67d73b121febe5ae76747680a2d979c21c5e6) Signed-off-by: Mark Brown <broonie@kernel.org>
-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"