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

From: Alexandre Belloni
Date: Mon Aug 10 2015 - 10:34:03 EST


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

Signed-off-by: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxxxxxxxxx>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/