patch-2.4.22 linux-2.4.22/arch/ppc/kernel/todc_time.c

Next file: linux-2.4.22/arch/ppc/kernel/traps.c
Previous file: linux-2.4.22/arch/ppc/kernel/time.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/arch/ppc/kernel/todc_time.c linux-2.4.22/arch/ppc/kernel/todc_time.c
@@ -1,6 +1,6 @@
 /*
  * arch/ppc/kernel/todc_time.c
- * 
+ *
  * Time of Day Clock support for the M48T35, M48T37, M48T59, and MC146818
  * Real Time Clocks/Timekeepers.
  *
@@ -85,7 +85,7 @@
 {
 	return readb(todc_info->nvram_data + addr);
 }
-  
+
 void
 todc_direct_write_val(int addr, unsigned char val)
 {
@@ -101,7 +101,7 @@
 	outb(addr>>todc_info->as0_bits, todc_info->nvram_as1);
 	return inb(todc_info->nvram_data);
 }
-  
+
 void
 todc_m48txx_write_val(int addr, unsigned char val)
 {
@@ -118,7 +118,7 @@
 	outb(addr, todc_info->nvram_as0);
 	return inb(todc_info->nvram_data);
 }
-  
+
 void
 todc_mc146818_write_val(int addr, unsigned char val)
 {
@@ -395,7 +395,7 @@
 	todc_write_val(todc_info->month,        tm.tm_mon);
 	todc_write_val(todc_info->day_of_month, tm.tm_mday);
 	todc_write_val(todc_info->year,         tm.tm_year);
-	
+
 	todc_write_val(todc_info->control_a, save_control);
 
 	if (todc_info->rtc_type == TODC_TYPE_MC146818) {
@@ -438,7 +438,7 @@
 	}
 
 	return val;
-} 
+}
 
 /*
  * This was taken from prep_setup.c
@@ -451,7 +451,7 @@
 	ulong	tbl, tbu;
         long	i, loop_count;
         u_char	sec;
- 
+
 	todc_time_init();
 
 	/*

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)