From: Christian Riesch Date: Tue, 28 Jun 2011 15:10:51 +0000 (+0000) Subject: davinci: da850: add a .set_rate method to ref_clk X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=8d54297b90831b6e87e62ad910f833b8666094c8;p=deliverable%2Flinux.git davinci: da850: add a .set_rate method to ref_clk This patch allows setting the input clock frequency of the SoC from the board specific code using the davinci_set_refclk_rate function. Suggested-by: Kevin Hilman Signed-off-by: Christian Riesch Signed-off-by: Sekhar Nori --- diff --git a/arch/arm/mach-davinci/da850.c b/arch/arm/mach-davinci/da850.c index 133aac405853..4e22b8da3493 100644 --- a/arch/arm/mach-davinci/da850.c +++ b/arch/arm/mach-davinci/da850.c @@ -58,6 +58,7 @@ static struct pll_data pll0_data = { static struct clk ref_clk = { .name = "ref_clk", .rate = DA850_REF_FREQ, + .set_rate = davinci_simple_set_rate, }; static struct clk pll0_clk = {