sh: clkfwk: fixup clk_rate_table_build parameter in div6 clock
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 14 Apr 2011 08:13:53 +0000 (17:13 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 18 Apr 2011 09:33:31 +0000 (18:33 +0900)
commit52c10ad22b7e317960b4d411c9a9ddeaf3d5ae39
treedf481339b6c1e524f7e5a8bcc655c4cc0de9920c
parenta1b49cb7e2a7961ec3aa8b64860bf480d4ec9077
sh: clkfwk: fixup clk_rate_table_build parameter in div6 clock

div6 clock should not use arch_flags for clk_rate_table_build,
because SH_CLK_DIV6_EXT doesn't care .arch_flags.
clk->freq_table[] will be all CPUFREQ_ENTRY_INVALID without this patch.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: stable@kernel.org
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/sh/clk/cpg.c