diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2013-04-02 13:02:36 +0200 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2013-04-03 21:55:31 +0200 |
commit | f640c0fad698c0e4b07e05373681d3681125d6af (patch) | |
tree | d5806255d66f425eba40b29362e648aa241237b2 /drivers/clk/mvebu/clk-cpu.h | |
parent | clk: fix clk_mux::flags kerneldoc (diff) | |
download | linux-f640c0fad698c0e4b07e05373681d3681125d6af.tar.xz linux-f640c0fad698c0e4b07e05373681d3681125d6af.zip |
clk: mvebu: Use common of_clk_init() function
The use common of_clk_init() function simplifies the clock initialization
and adds handling of the DT "fixed-clock".
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
[mturquette@linaro.org: fixed $SUBJECT to reflect correct file path]
Diffstat (limited to 'drivers/clk/mvebu/clk-cpu.h')
-rw-r--r-- | drivers/clk/mvebu/clk-cpu.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/drivers/clk/mvebu/clk-cpu.h b/drivers/clk/mvebu/clk-cpu.h deleted file mode 100644 index 08e2affba4e6..000000000000 --- a/drivers/clk/mvebu/clk-cpu.h +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Marvell MVEBU CPU clock handling. - * - * Copyright (C) 2012 Marvell - * - * Gregory CLEMENT <gregory.clement@free-electrons.com> - * - * This file is licensed under the terms of the GNU General Public - * License version 2. This program is licensed "as is" without any - * warranty of any kind, whether express or implied. - */ - -#ifndef __MVEBU_CLK_CPU_H -#define __MVEBU_CLK_CPU_H - -#ifdef CONFIG_MVEBU_CLK_CPU -void __init mvebu_cpu_clk_init(void); -#else -static inline void mvebu_cpu_clk_init(void) {} -#endif - -#endif |