* register we are working with. It is required for NMI access to the
* CMOS/RTC registers. See include/asm-i386/mc146818rtc.h for details.
*/
* register we are working with. It is required for NMI access to the
* CMOS/RTC registers. See include/asm-i386/mc146818rtc.h for details.
*/
int real_seconds, real_minutes, cmos_minutes;
unsigned char save_control, save_freq_select;
int real_seconds, real_minutes, cmos_minutes;
unsigned char save_control, save_freq_select;
- CMOS_WRITE(real_seconds,RTC_SECONDS);
- CMOS_WRITE(real_minutes,RTC_MINUTES);
+ CMOS_WRITE(real_seconds, RTC_SECONDS);
+ CMOS_WRITE(real_minutes, RTC_MINUTES);
spin_lock_irqsave(&rtc_lock, flags);
retval = set_wallclock(nowtime);
spin_lock_irqsave(&rtc_lock, flags);
retval = set_wallclock(nowtime);
platform_device_register(&rtc_device);
dev_info(&rtc_device.dev,
"registered platform RTC device (no PNP device found)\n");
platform_device_register(&rtc_device);
dev_info(&rtc_device.dev,
"registered platform RTC device (no PNP device found)\n");