patch-2.4.0-test2 linux/include/asm-arm/arch-shark/time.h

Next file: linux/include/asm-arm/dec21285.h
Previous file: linux/include/asm-arm/arch-sa1100/uncompress.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test1/linux/include/asm-arm/arch-shark/time.h linux/include/asm-arm/arch-shark/time.h
@@ -13,7 +13,6 @@
  * Copyright (c) 1996,1997,1998 Russell King.
  */
 
-#include <linux/config.h>
 #include <asm/leds.h>
 #include <linux/mc146818rtc.h>
 
@@ -28,15 +27,7 @@
 
 	CMOS_READ(RTC_INTR_FLAGS);	
 
-#ifdef CONFIG_LEDS
-	{
-		static int count = 50;
-		if (--count == 0) {
-			count = 50;
-			leds_event(led_timer);
-		}
-	}
-#endif
+	do_leds();
 
 	{
 #ifdef DIVISOR

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