Re: [PATCH 04/27] asm-generic: add legacy I/O header files

Russell King
2009-05-01T12:36:58Z

On Fri, May 01, 2009 at 02:22:29PM +0200, Arnd Bergmann wrote:
> drivers/rtc/rtc-pxa.c:#define TIMER_FREQ CLOCK_TICK_RATE

Needs to use some separate definition, this is not related in any way
to the ISA timer stuff.

> drivers/serial/serial_ks8695.c: .uartclk = CLOCK_TICK_RATE * 16,

Ditto.

> drivers/watchdog/davinci_wdt.c: timer_margin = (((u64)heartbeat * CLOCK_TICK_RATE) & 0xffffffff);
> drivers/watchdog/davinci_wdt.c: timer_margin = (((u64)heartbeat * CLOCK_TICK_RATE) >> 32);

Ditto.

> drivers/watchdog/ks8695_wdt.c: unsigned long tval = wdt_time * CLOCK_TICK_RATE;

Ditto.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/