Skip to contentSkip to conversation

ks8695_wdt: include mach/hardware.h instead of mach/timex.h.

PATCH New Lennert Buytenhek 1 participant 1 message Dec 14, 2010 Watchdog device drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ks8695_wdt: include mach/hardware.h instead of mach/timex.h.

From: Yegor Yefremov <[email protected]>

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.

---
 drivers/watchdog/ks8695_wdt.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/watchdog/ks8695_wdt.c +1 -1
index 2852bb2..8114719 100644
@@ -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 */
Signature · 1 line
1.7.1