Skip to content

Commit

Permalink
watchdog: ks8695_wdt: include mach/hardware.h instead of mach/timex.h.
Browse files Browse the repository at this point in the history
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]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
  • Loading branch information
yegorich authored and Wim Van Sebroeck committed Jan 12, 2011
1 parent 6ae98ed commit 568dba6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/watchdog/ks8695_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 568dba6

Please sign in to comment.