aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/rtc/rtc-at91sam9.c
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2015-08-10 16:33:39 +0200
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2015-09-05 13:19:12 +0200
commit1955f213a68323f7348fc06461017c7675efe6c1 (patch)
tree80faf7bc7108a7190382f2f4d6dbe693bf2a67fa /drivers/rtc/rtc-at91sam9.c
parentrtc: armada38x: Align RTC set time procedure with the official errata (diff)
downloadwireguard-linux-1955f213a68323f7348fc06461017c7675efe6c1.tar.xz
wireguard-linux-1955f213a68323f7348fc06461017c7675efe6c1.zip
rtc: at91sam9: include linux/of.h
This driver is using device tree but is not including of.h Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/rtc/rtc-at91sam9.c')
-rw-r--r--drivers/rtc/rtc-at91sam9.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rtc/rtc-at91sam9.c b/drivers/rtc/rtc-at91sam9.c
index f9e85ace5e71..16492e2baf5e 100644
--- a/drivers/rtc/rtc-at91sam9.c
+++ b/drivers/rtc/rtc-at91sam9.c
@@ -18,6 +18,7 @@
#include <linux/kernel.h>
#include <linux/mfd/syscon.h>
#include <linux/module.h>
+#include <linux/of.h>
#include <linux/platform_data/atmel.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>