int dvfs_set_freq_volt_table(struct clk *clk, struct cpufreq_frequency_table *table);\r
int rk30_dvfs_init(void);\r
#else\r
-int rk30_dvfs_init(void){};\r
-int is_support_dvfs(struct clk_node *dvfs_info){};\r
-int dvfs_set_rate(struct clk *clk, unsigned long rate){};\r
-int clk_enable_dvfs(struct clk *clk){};\r
-int clk_disable_dvfs(struct clk *clk){};\r
-int cpufreq_dvfs_init(struct clk *ck, struct cpufreq_frequency_table **table, clk_dvfs_target_callback clk_dvfs_target){};\r
-void dvfs_clk_register_set_rate_callback(struct clk *clk, clk_dvfs_target_callback clk_dvfs_target){};\r
-struct cpufreq_frequency_table *dvfs_get_freq_volt_table(struct clk *clk){};\r
-int dvfs_set_freq_volt_table(struct clk *clk, struct cpufreq_frequency_table *table);\r
-int rk30_dvfs_init(void){};\r
-\r
-\r
-\r
-\r
+static inline int rk30_dvfs_init(void) { return 0; }\r
+static inline int is_support_dvfs(struct clk_node *dvfs_info) { return 0; }\r
+static inline int dvfs_set_rate(struct clk *clk, unsigned long rate) { return 0; }\r
+static inline int clk_enable_dvfs(struct clk *clk) { return 0; }\r
+static inline int clk_disable_dvfs(struct clk *clk) { return 0; }\r
+static inline int cpufreq_dvfs_init(struct clk *ck, struct cpufreq_frequency_table **table, clk_dvfs_target_callback clk_dvfs_target) { return 0; }\r
+static inline void dvfs_clk_register_set_rate_callback(struct clk *clk, clk_dvfs_target_callback clk_dvfs_target) {}\r
+static inline struct cpufreq_frequency_table *dvfs_get_freq_volt_table(struct clk *clk) { return NULL; }\r
+static inline int dvfs_set_freq_volt_table(struct clk *clk, struct cpufreq_frequency_table *table) { return 0; }\r
#endif\r
\r
-\r
#endif\r