From 8d38f90824eed7382b4aa044d4fde3142767f515 Mon Sep 17 00:00:00 2001 From: chenxing Date: Mon, 16 Sep 2013 17:42:45 +0800 Subject: [PATCH] rk3026: fix compile error without open PROC_FS --- arch/arm/mach-rk3026/clock_data.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-rk3026/clock_data.c b/arch/arm/mach-rk3026/clock_data.c index 9025337825d5..94c4ccd566ab 100755 --- a/arch/arm/mach-rk3026/clock_data.c +++ b/arch/arm/mach-rk3026/clock_data.c @@ -2498,6 +2498,10 @@ void rk_dump_clock_info(void) } } #endif +static struct clk def_ops_clk = { + .get_parent = clksel_get_parent, + .set_parent = clksel_set_parent, +}; #ifdef CONFIG_PROC_FS static void dump_clock(struct seq_file *s, struct clk *clk, int deep, const struct list_head *root_clocks) @@ -2626,10 +2630,6 @@ void rk30_clk_dump_regs(void) } -static struct clk def_ops_clk = { - .get_parent = clksel_get_parent, - .set_parent = clksel_set_parent, -}; #ifdef CONFIG_PROC_FS static void dump_clock(struct seq_file *s, struct clk *clk, int deep, const struct list_head *root_clocks); struct clk_dump_ops dump_ops = { -- 2.34.1