Re: [rtc-linux] [PATCH] ARM: NUC900: add rtc controller driversupport for NUC900

From: Alessandro Zummo
Date: Mon Nov 23 2009 - 03:21:48 EST


On Mon, 23 Nov 2009 14:35:29 +0800
Wan ZongShun <mcuos.com@xxxxxxxxx> 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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/