[PATCH 1/2] rtc: at91sam9: include linux/of.h

Alexandre Belloni alexandre.belloni at free-electrons.com
Mon Aug 10 07:33:39 PDT 2015


This driver is using device tree but is not including of.h

Signed-off-by: Alexandre Belloni <alexandre.belloni at free-electrons.com>
---
 drivers/rtc/rtc-at91sam9.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/rtc/rtc-at91sam9.c b/drivers/rtc/rtc-at91sam9.c
index 5ccaee32df72..9f6c3631b8d5 100644
--- a/drivers/rtc/rtc-at91sam9.c
+++ b/drivers/rtc/rtc-at91sam9.c
@@ -25,6 +25,7 @@
 #include <linux/regmap.h>
 #include <linux/suspend.h>
 #include <linux/clk.h>
+#include <linux/of.h>
 
 /*
  * This driver uses two configurable hardware resources that live in the
-- 
2.1.4




More information about the linux-arm-kernel mailing list