From: Eric Miao Date: Thu, 18 Dec 2008 03:10:32 +0000 (+0800) Subject: [ARM] rtc-sa1100: don't assume CLOCK_TICK_RATE to be a constant X-Git-Tag: v2.6.29-rc1~559^2^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6769717d5d51596618f6b143008d8ace11ec8a69;p=pandora-kernel.git [ARM] rtc-sa1100: don't assume CLOCK_TICK_RATE to be a constant As Nicolas and Russell pointed out, CLOCK_TICK_RATE is no more a constant on PXA when multiple processors and platforms are selected, change TIMER_FREQ in rtc-sa1100.c into a variable. Since the code to decide the clock tick rate is re-used from timer.c, introduce a common get_clock_tick_rate() for this. Signed-off-by: Eric Miao Acked-by: Nicolas Pitre --- Reading git-diff-tree failed