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)
commit27f1acccd4d310e941d2e879445324595e2fe463
treeeb424b5451263784e664b48b39f2269c795a17af
parent27434f0af0fecba71fa58407715028d2b9550956
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