Compile error in drivers/watchdog/orion5x_wdt.c

From: Kristof Provost
Date: Mon Feb 16 2009 - 16:29:29 EST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

drivers/watchdog/orion5x_wdt.c fails to compile with the following error:

CC [M] drivers/watchdog/orion5x_wdt.o
drivers/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-----
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/