[PATCH 1/2] Add powerpc get/set_rtc_time interface to new generic	rtc class
    Tom Rini 
    trini at kernel.crashing.org
       
    Thu Sep 28 01:59:40 EST 2006
    
    
  
On Tue, Sep 26, 2006 at 05:46:37PM -0500, Kim Phillips wrote:
[snip]
> --- a/include/asm-powerpc/time.h
> +++ b/include/asm-powerpc/time.h
> @@ -39,6 +39,10 @@ extern void generic_calibrate_decr(void)
>  extern void wakeup_decrementer(void);
>  extern void snapshot_timebase(void);
>  
> +#ifdef CONFIG_RTC_CLASS
> +extern int __init rtc_class_hookup(void);
> +#endif
Conditional code doesn't usually get externs ifdef'd, unless I'm
mistaken.
-- 
Tom Rini
    
    
More information about the Linuxppc-dev
mailing list