ks8695_wdt: include mach/hardware.h instead of mach/timex.h.
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.
Signed-off-by Yegor Yefremov <[email protected]>
Signed-off-by Lennert Buytenhek <[email protected]>
--- drivers/watchdog/ks8695_wdt.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/watchdog/ks8695_wdt.c +1 -1
@@ -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