]> git.hungrycats.org Git - linux/commit
[PATCH] Fix gen_rtc compilation error
authorAndrew Morton <akpm@digeo.com>
Sat, 12 Apr 2003 19:54:31 +0000 (12:54 -0700)
committerJames Bottomley <jejb@raven.il.steeleye.com>
Sat, 12 Apr 2003 19:54:31 +0000 (12:54 -0700)
commita802b873867330d46ce869f626f6f3734c0eb679
treeb45ec8dc862018386e0aedcaecf4b0167b33be00
parented49cb094b7320b7782227afbe3d3fb7d61ecc3b
[PATCH] Fix gen_rtc compilation error

From: Geert Uytterhoeven <geert@linux-m68k.org>

It updates include/asm-{generic,parisc}/rtc.h for the recent changes in
drivers/char/genrtc.c and include/asm-{m68k,ppc}/rtc.h.

get_rtc_time() now returns some RTC flags instead of a 0/-1 success/failure
indicator.  These flags include:

   - RTC_BATT_BAD: RTC battery is bad (can be detected on PA-RISC)
   - RTC_24H: Clock runs in 24 hour mode

Most of these flags are the same as drivers/char/rtc.c, but RTC_BATT_BAD is a
new one.
include/asm-generic/rtc.h
include/asm-parisc/rtc.h