Commit 0ca06664902d82ff0cb962cc4a72f63ab4bf4991

Authored by Atsushi Nemoto
Committed by Linus Torvalds
1 parent 6527c2bdf1

[PATCH] RTC: Add a comment for ENOIOCTLCMD in ds1553_rtc_ioctl

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/rtc/rtc-ds1553.c
... ... @@ -226,7 +226,7 @@
226 226 struct rtc_plat_data *pdata = platform_get_drvdata(pdev);
227 227  
228 228 if (pdata->irq < 0)
229   - return -ENOIOCTLCMD;
  229 + return -ENOIOCTLCMD; /* fall back into rtc-dev's emulation */
230 230 switch (cmd) {
231 231 case RTC_AIE_OFF:
232 232 pdata->irqen &= ~RTC_AF;