Skip to content

Commit

Permalink
of/overlay: Directly include idr.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mark Brown authored and Rob Herring committed Mar 2, 2015
1 parent 388404a commit 0d1886d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/of/overlay.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include <linux/string.h>
#include <linux/slab.h>
#include <linux/err.h>
#include <linux/idr.h>

#include "of_private.h"

Expand Down

0 comments on commit 0d1886d

Please sign in to comment.