Skip to content

Commit

Permalink
Merge branch 'fortglx/3.0/tip/timers/rtc' of git://git.linaro.org/peo…
Browse files Browse the repository at this point in the history
…ple/jstultz/linux into timers/urgent
  • Loading branch information
Thomas Gleixner committed Jun 6, 2011
2 parents 1c3cc11 + d576fe4 commit 4bcbfff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/rtc/interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ int rtc_read_alarm(struct rtc_device *rtc, struct rtc_wkalrm *alarm)
}
EXPORT_SYMBOL_GPL(rtc_read_alarm);

int __rtc_set_alarm(struct rtc_device *rtc, struct rtc_wkalrm *alarm)
static int __rtc_set_alarm(struct rtc_device *rtc, struct rtc_wkalrm *alarm)
{
struct rtc_time tm;
long now, scheduled;
Expand Down
3 changes: 2 additions & 1 deletion drivers/rtc/rtc-dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 4bcbfff

Please sign in to comment.