diff options
| author | 2011-06-06 21:11:31 +0200 | |
|---|---|---|
| committer | 2011-06-06 21:11:31 +0200 | |
| commit | 4bcbfff618f92f770dff28c8d3320fc96acf52df (patch) | |
| tree | 2d8d8d1cf804d0b60a43e47a43b9b72570b436dd /drivers/rtc/rtc-dev.c | |
| parent | timers: Consider slack value in mod_timer() (diff) | |
| parent | rtc: Staticize non-exported __rtc_set_alarm() (diff) | |
| download | wireguard-linux-4bcbfff618f92f770dff28c8d3320fc96acf52df.tar.xz wireguard-linux-4bcbfff618f92f770dff28c8d3320fc96acf52df.zip | |
Merge branch 'fortglx/3.0/tip/timers/rtc' of git://git.linaro.org/people/jstultz/linux into timers/urgent
Diffstat (limited to 'drivers/rtc/rtc-dev.c')
| -rw-r--r-- | drivers/rtc/rtc-dev.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-dev.c b/drivers/rtc/rtc-dev.c index d0e06edb14c5..cace6d3aed9a 100644 --- a/drivers/rtc/rtc-dev.c +++ b/drivers/rtc/rtc-dev.c @@ -421,7 +421,8 @@ static long rtc_dev_ioctl(struct file *file, err = ops->ioctl(rtc->dev.parent, cmd, arg); if (err == -ENOIOCTLCMD) err = -ENOTTY; - } + } else + err = -ENOTTY; break; } |
