[PATCH] Allow reading CMOS day of week register
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Wed, 11 Jan 2006 20:17:32 +0000 (12:17 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 12 Jan 2006 02:42:10 +0000 (18:42 -0800)
commitb7599587faea9403edf4d7f74e80b3c9ea217930
treeb6049fb7006eb1fe5a3bc545c2cf7880ce079971
parente56d5ae305b9be17edfee20740ec84257e518747
[PATCH] Allow reading CMOS day of week register

Someone wanted access to this usually unused (and unused by Linux) value
for the day of week.  Existing kernels have the field in the struct but
return 0 always.  This updates the kernel to fill in the field.  The usual
case of 'not set' conveniently is 0.

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/rtc.c