[WATCHDOG] ks8695_wdt.c: 'CLOCK_TICK_RATE' undeclared
authorAlexey Dobriyan <adobriyan@gmail.com>
Thu, 12 Feb 2009 10:42:41 +0000 (13:42 +0300)
committerWim Van Sebroeck <wim@iguana.be>
Thu, 5 Mar 2009 13:59:05 +0000 (13:59 +0000)
On arm-acs5k_tiny:

drivers/watchdog/ks8695_wdt.c:68: error: 'CLOCK_TICK_RATE' undeclared
(first use in this function)

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Cc: stable <stable@kernel.org>
drivers/watchdog/ks8695_wdt.c

index 0b798fdaa378eccd53e39c5ab1fa538e19388b03..74c92d38411285b1c64c8e87febead6658b9da5e 100644 (file)
@@ -21,6 +21,7 @@
 #include <linux/watchdog.h>
 #include <linux/io.h>
 #include <linux/uaccess.h>
+#include <mach/timex.h>
 #include <mach/regs-timer.h>
 
 #define WDT_DEFAULT_TIME       5       /* seconds */