Skip to content

Commit

Permalink
[PATCH] RTC: Add a comment for ENOIOCTLCMD in ds1553_rtc_ioctl
Browse files Browse the repository at this point in the history
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Atsushi Nemoto authored and Linus Torvalds committed Jun 28, 2006
1 parent 6527c2b commit 0ca0666
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/rtc/rtc-ds1553.c
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ static int ds1553_rtc_ioctl(struct device *dev, unsigned int cmd,
struct rtc_plat_data *pdata = platform_get_drvdata(pdev);

if (pdata->irq < 0)
return -ENOIOCTLCMD;
return -ENOIOCTLCMD; /* fall back into rtc-dev's emulation */
switch (cmd) {
case RTC_AIE_OFF:
pdata->irqen &= ~RTC_AF;
Expand Down

0 comments on commit 0ca0666

Please sign in to comment.