watchdog: sirf: don't depend on dummy value of CLOCK_TICK_RATE
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Mon, 11 Nov 2013 20:33:44 +0000 (21:33 +0100)
committerWim Van Sebroeck <wim@iguana.be>
Sun, 17 Nov 2013 18:42:31 +0000 (19:42 +0100)
commitb0df38dd3554d47fcfd5c1183951c2fe7dd07eda
tree3651c1d94637b98104144adb17241ece74540cde
parentab5bbdc7015bb35c364ad5f3c955736b17d1acb6
watchdog: sirf: don't depend on dummy value of CLOCK_TICK_RATE

As CSR SiRF is converted to multi platform CLOCK_TICK_RATE is a dummy
value that seems to match the right value is used.
(arch/arm/mach-prima2/include/mach/timex.h which defined CLOCK_TICK_RATE
to 1000000 was removed in commit cf82e0e (ARM: sirf: enable
multiplatform support); marco used the same file.)

To not depend on that dummy value use a local #define instead.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/sirfsoc_wdt.c