[patch 24/96] WATCHDOG: ks8695_wdt.c: CLOCK_TICK_RATE undeclared

Greg KH
2009-03-14T00:27:42Z

[-- Attachment #1: watchdog-ks8695_wdt.c-clock_tick_rate-undeclared.patch --]
[-- Type: text/plain, Size: 826 bytes --]

2.6.27-stable review patch. If anyone has any objections, please let us know.

------------------

From: Alexey Dobriyan <adobriyan@gmail.com>

commit b02c387892fc6b3cc59c78ab2f79413d55f50190 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

---
drivers/watchdog/ks8695_wdt.c | 1 +
1 file changed, 1 insertion(+)

--- a/drivers/watchdog/ks8695_wdt.c
+++ b/drivers/watchdog/ks8695_wdt.c
@@ -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 */