summaryrefslogtreecommitdiff
path: root/tools/power/cpupower/lib/powercap.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/power/cpupower/lib/powercap.c')
-rw-r--r--tools/power/cpupower/lib/powercap.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/power/cpupower/lib/powercap.c b/tools/power/cpupower/lib/powercap.c
index a7a59c6bacda..94a0c69e55ef 100644
--- a/tools/power/cpupower/lib/powercap.c
+++ b/tools/power/cpupower/lib/powercap.c
@@ -78,6 +78,14 @@ int powercap_get_enabled(int *mode)
}
/*
+ * TODO: implement function. Returns dummy 0 for now.
+ */
+int powercap_set_enabled(int mode)
+{
+ return 0;
+}
+
+/*
* Hardcoded, because rapl is the only powercap implementation
- * this needs to get more generic if more powercap implementations
* should show up