quoted
??static void __init kirkwood_rtc_init(void)
??{
- ?? ?? ?? platform_device_register_simple("rtc-mv", -1, &kirkwood_rtc_resource, 1);
+ ?? ?? ?? orion_rtc_init(RTC_PHYS_BASE, IRQ_KIRKWOOD_RTC);
the rtc-mv.c driver enables the alarm support when IRQ resource is
provided. so this patch actually adds support for rtc alarm, does the
alarm works for you?
I ran the test code in Documentation/rtc.txt. The alarm interrupt does
work.
so I suggest to split it to two patches, one consolidates the rtc, and
the second adds alarm support for KW.
O.K. Will do.
Thanks
Andrew