rtc-sa1100.h (8c0961ba7c9356186a0606a391f08e2ecb491a57) rtc-sa1100.h (90d0ae8e9583355725583e9d1ff0ebdc97936f39)
1#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;
1#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 void __iomem *rcnr;
12 void __iomem *rtar;
13 void __iomem *rtsr;
14 void __iomem *rttr;
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
15 int irq_1hz;
16 int irq_alarm;
17 struct rtc_device *rtc;
18 struct clk *clk;
19};
20
21int sa1100_rtc_init(struct platform_device *pdev, struct sa1100_rtc *info);
22
23#endif