diff options
Diffstat (limited to 'arch/x86/include/asm/mc146818rtc.h')
| -rw-r--r-- | arch/x86/include/asm/mc146818rtc.h | 9 | 
1 files changed, 4 insertions, 5 deletions
diff --git a/arch/x86/include/asm/mc146818rtc.h b/arch/x86/include/asm/mc146818rtc.h index 01fdf5674e2..a55c7efcc4e 100644 --- a/arch/x86/include/asm/mc146818rtc.h +++ b/arch/x86/include/asm/mc146818rtc.h @@ -5,7 +5,6 @@  #define _ASM_X86_MC146818RTC_H  #include <asm/io.h> -#include <asm/system.h>  #include <asm/processor.h>  #include <linux/mc146818rtc.h> @@ -81,8 +80,8 @@ static inline unsigned char current_lock_cmos_reg(void)  #else  #define lock_cmos_prefix(reg) do {} while (0)  #define lock_cmos_suffix(reg) do {} while (0) -#define lock_cmos(reg) -#define unlock_cmos() +#define lock_cmos(reg) do { } while (0) +#define unlock_cmos() do { } while (0)  #define do_i_have_lock_cmos() 0  #define current_lock_cmos_reg() 0  #endif @@ -96,8 +95,8 @@ static inline unsigned char current_lock_cmos_reg(void)  unsigned char rtc_cmos_read(unsigned char addr);  void rtc_cmos_write(unsigned char val, unsigned char addr); -extern int mach_set_rtc_mmss(unsigned long nowtime); -extern unsigned long mach_get_cmos_time(void); +extern int mach_set_rtc_mmss(const struct timespec *now); +extern void mach_get_cmos_time(struct timespec *now);  #define RTC_IRQ 8  | 
