[rtc-linux] [PATCH] ARM: NUC900: add rtc controller driver support for NUC900
Alessandro Zummo
a.zummo at towertech.it
Mon Nov 23 03:21:41 EST 2009
On Mon, 23 Nov 2009 14:35:29 +0800
Wan ZongShun <mcuos.com at gmail.com> wrote:
> Thanks a lot for your advice, and I have fixed my patch.
> But, I have a question ,which is that why do not implement ops->ioctl()
> unless absolutely necessary? and I see many other rtc driver have implemented it.
That's because the RTC framework will provide one
for you if you define the irq functions in your
rtc_ops. check *_irq_enable, irq_set_state, irq_set_freq.
--
Best regards,
Alessandro Zummo,
Tower Technologies - Torino, Italy
http://www.towertech.it
More information about the linux-arm-kernel
mailing list