10 #include <linux/module.h>
11 #include <linux/rtc.h>
16 #include <linux/slab.h>
24 #define RTC_CR_MIE (1 << 0)
94 .read_time = pl030_read_time,
95 .set_time = pl030_set_time,
96 .read_alarm = pl030_read_alarm,
97 .set_alarm = pl030_set_alarm,
133 if (IS_ERR(rtc->
rtc)) {
134 ret = PTR_ERR(rtc->
rtc);
169 static struct amba_id pl030_ids[] = {
183 .probe = pl030_probe,
184 .remove = pl030_remove,
185 .id_table = pl030_ids,