[PATCH] of: Add missing include

Sascha Hauer s.hauer at pengutronix.de
Tue May 24 03:52:51 PDT 2016


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 at pengutronix.de>
---
 drivers/of/device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/of/device.c b/drivers/of/device.c
index e2c3c02..67a67bd 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
-- 
2.8.1




More information about the barebox mailing list