From: Atsushi Nemoto Date: Tue, 27 Jun 2006 09:53:58 +0000 (-0700) Subject: [PATCH] RTC: Add a comment for ENOIOCTLCMD in ds1553_rtc_ioctl X-Git-Tag: v2.6.18-rc1~553 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ca06664902d82ff0cb962cc4a72f63ab4bf4991;p=linux-2.6 [PATCH] RTC: Add a comment for ENOIOCTLCMD in ds1553_rtc_ioctl Signed-off-by: Atsushi Nemoto Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/rtc/rtc-ds1553.c b/drivers/rtc/rtc-ds1553.c index ecafbad41a..762521a141 100644 --- a/drivers/rtc/rtc-ds1553.c +++ b/drivers/rtc/rtc-ds1553.c @@ -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;