Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux...
[linux/fpc-iii.git] / drivers / rtc / rtc-sa1100.h
blob2c79c0c578228511c92f77d51f0a4f1889fee0e4
1 #ifndef __RTC_SA1100_H__
2 #define __RTC_SA1100_H__
4 #include <linux/kernel.h>
6 struct clk;
7 struct platform_device;
9 struct sa1100_rtc {
10 spinlock_t lock;
11 void __iomem *rcnr;
12 void __iomem *rtar;
13 void __iomem *rtsr;
14 void __iomem *rttr;
15 int irq_1hz;
16 int irq_alarm;
17 struct rtc_device *rtc;
18 struct clk *clk;
21 int sa1100_rtc_init(struct platform_device *pdev, struct sa1100_rtc *info);
23 #endif