lkml.org 
[lkml]   [2007]   [Dec]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/7] Blackfin RTC driver: the frequency function is in units of Hz, not units of seconds, so lock our driver down to 1 Hz
On Fri, 23 Nov 2007 18:08:26 +0800
Bryan Wu <bryan.wu@analog.com> wrote:

Hi, I fannly got some time to review the patches. Seems ok, the
only question is...

> static int bfin_irq_set_freq(struct device *dev, int freq)
> {
> - struct bfin_rtc *rtc = dev_get_drvdata(dev);
> stampit();
> - rtc->rtc_dev->irq_freq = freq;
> - return 0;
> + return -ENOTTY;
> }

.. why ENOTTY here?

--

Best regards,

Alessandro Zummo,
Tower Technologies - Torino, Italy

http://www.towertech.it



\
 
 \ /
  Last update: 2007-12-04 17:29    [W:0.091 / U:1.972 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site