]> git.baikalelectronics.ru Git - kernel.git/commit
sh: Fix up SH7201 clkfwk build.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 24 Dec 2010 03:15:57 +0000 (12:15 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 24 Dec 2010 03:15:57 +0000 (12:15 +0900)
commite80db5dc12cec7aac2c4de6da5241fa05447acf2
treeeb424b5451263784e664b48b39f2269c795a17af
parent157f301af9ffb5454810b44edc78e857afd8fc11
sh: Fix up SH7201 clkfwk build.

The master clock initialization for SH7201 was wholly bogus. Users of the
legacy API must initialize the clock rate through the struct clk itself
rather than returning the clock frequency. Given that the init function
itself is void, returning the frequency isn't terribly effective.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/sh2a/clock-sh7201.c