pass-hal: tm1: Fix wrong function name 12/137612/1
authorDongwoo Lee <dwoo08.lee@samsung.com>
Fri, 7 Jul 2017 00:53:50 +0000 (09:53 +0900)
committerDongwoo Lee <dwoo08.lee@samsung.com>
Fri, 7 Jul 2017 01:07:46 +0000 (10:07 +0900)
The function with prefix 'tm2' will be fixed.

Change-Id: Ie6410bc5c1670e52c6a5f2648a8da14b6b904ca3
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
src/cpu/cpu.c

index 62e76db..4730b2d 100644 (file)
@@ -86,7 +86,7 @@ static int tm1_dvfs_set_min_freq(char *res_name, int freq)
        return 0;
 }
 
-static int tm2_dvfs_set_max_freq(char *res_name, int freq)
+static int tm1_dvfs_set_max_freq(char *res_name, int freq)
 {
        char path[PATH_MAX];
        int ret;
@@ -116,7 +116,7 @@ static struct pass_resource_dvfs_ops tm1_cpu_dvfs_ops =  {
        .get_min_freq = NULL,
        .set_min_freq = tm1_dvfs_set_min_freq,
        .get_max_freq = NULL,
-       .set_max_freq = tm2_dvfs_set_max_freq,
+       .set_max_freq = tm1_dvfs_set_max_freq,
        .get_up_threshold = NULL,
        .set_up_threshold = NULL,
        .get_load_table = NULL,