diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-03-08 01:14:25 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-03-08 02:10:30 +0100 |
commit | b35692ebdef0c1cd4a05a58559a94ced54ff9c82 (patch) | |
tree | 3161106dfae3b4a83c6ca65bbf8a99eb62402915 /include/asm-mips | |
parent | Merge branch 'for-linus' of git://www.atmel.no/~hskinnemoen/linux/kernel/avr32 (diff) | |
download | linux-b35692ebdef0c1cd4a05a58559a94ced54ff9c82.tar.xz linux-b35692ebdef0c1cd4a05a58559a94ced54ff9c82.zip |
[CHAR] ds1286: Fix handling of seconds in RTC_ALM_SET ioctl.
o Fix use of uninitialized variable sec.
o Make the RTC_ALM_SET ioctl return -EINVAL for non-zero seconds - the
DS1286 has no second field for the alarm time.
o Replace the obscure BIN_TO_BCD macro with BIN2BCD.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips')
0 files changed, 0 insertions, 0 deletions