Compile error in drivers/watchdog/orion5x_wdt.c
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
drivers/watchdog/orion5x_wdt.c fails to compile with the following error:
CC [M] drivers/watchdog/orion5x_wdt.odrivers/watchdog/orion5x_wdt.c:37: error: 'ORION5X_TCLK' undeclared here (not in a function)
make[2]: *** [drivers/watchdog/orion5x_wdt.o] Error 1
I guess the problem is related to ebe35aff883496c07248df82c8576c3b6e84bbbe as it removed ORION5X_TLCK from arch/arm/mach-orion5x/include/mach/timex.h. There are no other defines or uses of ORION5X_TLCK than in the watchdog.
I don't think simply restoring the define is the appropriate solution though. According to the commit log the value can be different for different hardware variants.
Regards,
Kristof Provost
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkmZ2X0ACgkQUEZ9DhGwDuhBOgCfUubO6evdRalap8WSfF7k99I2 Bg8An1SPfFuueiU7Ndum9RNnIXLcdY7V
=qubX
-----END PGP SIGNATURE-----