]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit90ef1b5c0afe9ff03d72b110c687dc562721c3e3
tree3651c1d94637b98104144adb17241ece74540cde
parentbf787f41611aea7d9717d2fbcbfce73b81ad1834
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 eaf5c8b (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