board-sh7785lcr.c (020abf03cd659388f94cb328e1e1df0656e0d7ff) board-sh7785lcr.c (7912825d8b755e6a5b9839eab910f451b0271aba)
1/*
2 * Renesas Technology Corp. R0P7785LC0011RL Support.
3 *
4 * Copyright (C) 2008 Yoshihiro Shimoda
5 * Copyright (C) 2009 Paul Mundt
6 *
7 * This file is subject to the terms and conditions of the GNU General Public
8 * License. See the file "COPYING" in the main directory of this archive

--- 285 unchanged lines hidden (view full) ---

294}
295
296static int sh7785lcr_clk_init(void)
297{
298 struct clk *clk;
299 int ret;
300
301 clk = clk_get(NULL, "extal");
1/*
2 * Renesas Technology Corp. R0P7785LC0011RL Support.
3 *
4 * Copyright (C) 2008 Yoshihiro Shimoda
5 * Copyright (C) 2009 Paul Mundt
6 *
7 * This file is subject to the terms and conditions of the GNU General Public
8 * License. See the file "COPYING" in the main directory of this archive

--- 285 unchanged lines hidden (view full) ---

294}
295
296static int sh7785lcr_clk_init(void)
297{
298 struct clk *clk;
299 int ret;
300
301 clk = clk_get(NULL, "extal");
302 if (!clk || IS_ERR(clk))
302 if (IS_ERR(clk))
303 return PTR_ERR(clk);
304 ret = clk_set_rate(clk, 33333333);
305 clk_put(clk);
306
307 return ret;
308}
309
310static void sh7785lcr_power_off(void)

--- 66 unchanged lines hidden ---
303 return PTR_ERR(clk);
304 ret = clk_set_rate(clk, 33333333);
305 clk_put(clk);
306
307 return ret;
308}
309
310static void sh7785lcr_power_off(void)

--- 66 unchanged lines hidden ---