Explorar o código

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

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>
Yegor Yefremov %!s(int64=14) %!d(string=hai) anos
pai
achega
568dba66ac
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/watchdog/ks8695_wdt.c

+ 1 - 1
drivers/watchdog/ks8695_wdt.c

@@ -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 */