• Andrew Morton's avatar
    [PATCH] Fix gen_rtc compilation error · a802b873
    Andrew Morton authored
    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.
    a802b873
rtc.h 5.06 KB