The
cd740cbf75cf9 ("pass-hal: tm2: Update TMU HAL functions to use
pass_res_thermal_name") patch has the build errors. So, this patch
fixes the build error on gpu.c.
Change-Id: I92fd86cfbee586638c8d9b2868a85d5ec694c02b
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
.get_load_table = NULL,
};
-static int tm2_tmu_get_temp(char *res_thermal_name);
+static int tm2_tmu_get_temp(char *res_thermal_name)
{
char path[PATH_MAX];
int temp;
int ret;
- if (!res_name)
+ if (!res_thermal_name)
return -EINVAL;
snprintf(path, PATH_MAX, "%s%s%s",
char path[PATH_MAX];
int ret;
- if ((!res_name) || (!policy))
+ if ((!res_thermal_name) || (!policy))
return -EINVAL;
snprintf(path, PATH_MAX, "%s%s%s",