blob: 665d054740a17954062e7d648122d33ca7b518e4 [file] [log] [blame]
Rob Herring8c0961b2015-05-12 16:23:23 -05001#ifndef __RTC_SA1100_H__
2#define __RTC_SA1100_H__
3
4#include <linux/kernel.h>
5
6struct clk;
7struct platform_device;
8
9struct sa1100_rtc {
10 spinlock_t lock;
11 int irq_1hz;
12 int irq_alarm;
13 struct rtc_device *rtc;
14 struct clk *clk;
15};
16
17int sa1100_rtc_init(struct platform_device *pdev, struct sa1100_rtc *info);
18
19#endif