rk3026: fix compile error without open PROC_FS
authorchenxing <chenxing@rock-chips.com>
Mon, 16 Sep 2013 09:42:45 +0000 (17:42 +0800)
committerchenxing <chenxing@rock-chips.com>
Mon, 16 Sep 2013 09:42:45 +0000 (17:42 +0800)
arch/arm/mach-rk3026/clock_data.c

index 9025337825d57e30e5a9f51aa8fccd70d5f554e3..94c4ccd566abee4cb3e8a216f32d923355a7471d 100755 (executable)
@@ -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 = {