]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
watchdog: ks8695_wdt: include mach/hardware.h instead of mach/timex.h.
authorYegor Yefremov <yegorslists@googlemail.com>
Tue, 14 Dec 2010 15:29:31 +0000 (16:29 +0100)
committerWim Van Sebroeck <wim@iguana.be>
Wed, 12 Jan 2011 10:24:52 +0000 (10:24 +0000)
ks8695_wdt needs KS8695_CLOCK_RATE, which is defined in
mach/hardware.h, which is pulled in by the include of mach/timex.h,
but the latter is going away, so just include mach/hardware.h
directly.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Lennert Buytenhek <buytenh@secretlab.ca>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/ks8695_wdt.c

index 2852bb2e3fd9c023c8d54e121d1bddf31d20e7b3..811471903e8a7390f68d46b60998307be76b2be1 100644 (file)
@@ -21,7 +21,7 @@
 #include <linux/watchdog.h>
 #include <linux/io.h>
 #include <linux/uaccess.h>
-#include <mach/timex.h>
+#include <mach/hardware.h>
 #include <mach/regs-timer.h>
 
 #define WDT_DEFAULT_TIME       5       /* seconds */