Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1204340

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

From Alexandre Belloni <alexandre.belloni@free-electrons.com>
Newsgroups linux.kernel
Subject [PATCH 1/2] rtc: at91sam9: include linux/of.h
Date 2015-08-10 16:40 +0200
Message-ID <pVWp5-FY-29@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

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

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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH 1/2] rtc: at91sam9: include linux/of.h Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2015-08-10 16:40 +0200

csiph-web