summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2016-05-24 12:51:47 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2016-05-24 12:51:53 +0200
commit5376121774cd5162d6d73ed1d59f41d2b9b1ec61 (patch)
treeb01f4557dff2b5e4043942ae621f765130c9998a
parentfc71878c1f96cf0ee1737c57092849328f662c5a (diff)
downloadbarebox-5376121774cd5162d6d73ed1d59f41d2b9b1ec61.tar.gz
barebox-5376121774cd5162d6d73ed1d59f41d2b9b1ec61.tar.xz
of: Add missing include
drivers/of/device.c has the implementation for of_match_device(), so also include the header which has the prototype. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--drivers/of/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/of/device.c b/drivers/of/device.c
index e2c3c02d27..67a67bd565 100644
--- a/drivers/of/device.c
+++ b/drivers/of/device.c
@@ -1,6 +1,6 @@
#include <common.h>
#include <of.h>
-
+#include <of_device.h>
/**
* of_match_device - Tell if a struct device matches an of_device_id list