]> git.ipfire.org Git - thirdparty/kernel/stable.git/blobdiff - tools/power/cpupower/lib/cpuidle.c
tools/power/cpupower: fix compilation with STATIC=true
[thirdparty/kernel/stable.git] / tools / power / cpupower / lib / cpuidle.c
index 9bd4c7655fdb2a4942d6aa0012174f232e25ee4f..852d25462388c2d61b67bf5c4ca162d591b16281 100644 (file)
@@ -319,7 +319,7 @@ static unsigned int sysfs_cpuidle_read_file(const char *fname, char *buf,
 
        snprintf(path, sizeof(path), PATH_TO_CPU "cpuidle/%s", fname);
 
-       return sysfs_read_file(path, buf, buflen);
+       return cpupower_read_sysfs(path, buf, buflen);
 }