]> git.baikalelectronics.ru Git - kernel.git/commit
[WATCHDOG] orion5x_wdt.c: 'ORION5X_TCLK' undeclared
authorWim Van Sebroeck <wim@iguana.be>
Wed, 25 Feb 2009 12:33:01 +0000 (13:33 +0100)
committerWim Van Sebroeck <wim@iguana.be>
Thu, 5 Mar 2009 19:25:05 +0000 (19:25 +0000)
commit2098700d41954d659da1d2b47cb6453d85b09dfb
tree7300fabb12ecc358cac7137d7c53a93abfe7d11d
parente7a3cc768e5b3f4b85718a06be52f00b7d23f021
[WATCHDOG] orion5x_wdt.c: 'ORION5X_TCLK' undeclared

orion5x_wdt no longer compiled after the changes in commit
b2b5c7b9cda77f7d6158c413d497921d45780cf7 ("Orion: prepare for
runtime-determined timer tick rate").

The tick rate define (ORION5X_TCLK) was removed in favor of a runtime
detection. The quick fix is to add the define in the watchdog driver.
The fix is not correct for all supported orion5x platforms, but since
the supported platforms right now are 133 Mhz and 166 Mhz, it won't
be _that_ far off. ;-) A fix that uses the runtime-determined timer
tick rate will be applied later.

Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Cc: Kristof Provost <kristof@sigsegv.be>
Acked-by: Lennert Buytenhek <buytenh@wantstofly.org>
Cc: Nicolas Pitre <nico@cam.org>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: Andrew Morton <akpm@linux-foundation.org>
drivers/watchdog/orion5x_wdt.c