aboutsummaryrefslogtreecommitdiffstats
path: root/tools/power/cpupower/lib/cpupower_intern.h
diff options
context:
space:
mode:
authorKonstantin Khlebnikov <khlebnikov@yandex-team.ru>2018-10-16 11:56:26 +0300
committerShuah Khan <shuah@kernel.org>2018-11-06 08:54:16 -0700
commit9de9aa45e9bd67232e000cca42ceb134b8ae51b6 (patch)
tree1e09b2df7b64c3fd46c0483bec2287c7bfd7226e /tools/power/cpupower/lib/cpupower_intern.h
parentLinux 4.20-rc1 (diff)
downloadlinux-dev-9de9aa45e9bd67232e000cca42ceb134b8ae51b6.tar.xz
linux-dev-9de9aa45e9bd67232e000cca42ceb134b8ae51b6.zip
tools/power/cpupower: fix compilation with STATIC=true
Rename duplicate sysfs_read_file into cpupower_read_sysfs and fix linking. Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru> Acked-by: Thomas Renninger <trenn@suse.de> Cc: <stable@vger.kernel.org> Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
Diffstat (limited to 'tools/power/cpupower/lib/cpupower_intern.h')
-rw-r--r--tools/power/cpupower/lib/cpupower_intern.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/power/cpupower/lib/cpupower_intern.h b/tools/power/cpupower/lib/cpupower_intern.h
index 92affdfbe417..4887c76d23f8 100644
--- a/tools/power/cpupower/lib/cpupower_intern.h
+++ b/tools/power/cpupower/lib/cpupower_intern.h
@@ -3,4 +3,4 @@
#define MAX_LINE_LEN 4096
#define SYSFS_PATH_MAX 255
-unsigned int sysfs_read_file(const char *path, char *buf, size_t buflen);
+unsigned int cpupower_read_sysfs(const char *path, char *buf, size_t buflen);