]> err.no Git - linux-2.6/commit
rtc-dev: Make RTC driver return ENOTTY instead of ENOIOCTLCMD
authorThomas Hommel <thomas.hommel@gefanuc.com>
Tue, 31 Jul 2007 07:37:31 +0000 (00:37 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 31 Jul 2007 22:39:36 +0000 (15:39 -0700)
commitc8ed39ebe0cf490abd7bf7c77b728dd6fefb2cf8
tree0a58ec2f09403df615fe728bd7c4bba03e3116f0
parenta8bbf72ab9b3072ece630d97689145b1a2f01221
rtc-dev: Make RTC driver return ENOTTY instead of ENOIOCTLCMD

Prevent the RTC driver from returning ENOIOCTLCMD to userspace.

Signed-off-by: Thomas Hommel <thomas.hommel@gefanuc.com>
Acked-by: Alessandro Zummo <a.zummo@towertech.it>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-dev.c