[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20091123092141.519d0ec1@linux.lan.towertech.it>
Date:	Mon, 23 Nov 2009 09:21:41 +0100
From:	Alessandro Zummo <a.zummo@...ertech.it>
To:	Wan ZongShun <mcuos.com@...il.com>
Cc:	rtc-linux@...glegroups.com, Paul Gortmaker <p_gortmaker@...oo.com>,
	linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
	linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [rtc-linux] [PATCH] ARM: NUC900: add rtc controller driver
 support  for NUC900
On Mon, 23 Nov 2009 14:35:29 +0800
Wan ZongShun <mcuos.com@...il.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
Powered by blists - more mailing lists