ARM: rockchip: fix compile error multiple definition of dvfs_get_regulator when dvfs...
author黄涛 <huangtao@rock-chips.com>
Wed, 26 Mar 2014 03:48:32 +0000 (11:48 +0800)
committer黄涛 <huangtao@rock-chips.com>
Wed, 26 Mar 2014 03:48:32 +0000 (11:48 +0800)
include/linux/rockchip/dvfs.h

index 71a248f0be64a958452e3257cec3c8614b035be4..95bccb5fa95638d4abd43e2ec3b0ab8193c7432f 100644 (file)
@@ -190,7 +190,7 @@ static inline struct cpufreq_frequency_table *dvfs_get_freq_volt_table(struct dv
 static inline int rk_regist_vd(struct vd_node *vd){ return 0; };
 static inline int rk_regist_pd(struct pd_node *pd){ return 0; };
 static inline int rk_regist_clk(struct dvfs_node *clk_dvfs_node){ return 0; };
-struct regulator *dvfs_get_regulator(char *regulator_name){ return NULL; };
+static inline struct regulator *dvfs_get_regulator(char *regulator_name){ return NULL; };
 static inline int of_dvfs_init(void){ return 0; };
 #endif