summaryrefslogtreecommitdiff
path: root/tools/power/cpupower/utils/cpupower-info.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-11-11 23:22:56 (GMT)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-11-11 23:22:56 (GMT)
commitf57ab32a843690fe7431ebb3a2f461e689a2e3c7 (patch)
treeb1316569e599668d1dd028297b569fe2ef75f651 /tools/power/cpupower/utils/cpupower-info.c
parentf6f18a261c1748973e9aac529ed81bb4abd9f120 (diff)
parent89ba7d8c22acb43e318ca1c82e25c8b75ef7a7b2 (diff)
downloadlinux-f57ab32a843690fe7431ebb3a2f461e689a2e3c7.tar.xz
Merge branch 'pm-tools'
* pm-tools: Creating a common structure initialization pattern for struct option cpupower: Enable disabled Cstates if they are below max latency cpupower: Remove debug message when using cpupower idle-set -D switch cpupower: cpupower monitor reports uninitialized values for offline cpus tools/power turbostat: bugfix: print MAX_NON_TURBO_RATIO tools/power turbostat: simplify Bzy_MHz calculation
Diffstat (limited to 'tools/power/cpupower/utils/cpupower-info.c')
-rw-r--r--tools/power/cpupower/utils/cpupower-info.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/power/cpupower/utils/cpupower-info.c b/tools/power/cpupower/utils/cpupower-info.c
index 136d979..10299f2 100644
--- a/tools/power/cpupower/utils/cpupower-info.c
+++ b/tools/power/cpupower/utils/cpupower-info.c
@@ -17,8 +17,8 @@
#include "helpers/sysfs.h"
static struct option set_opts[] = {
- { .name = "perf-bias", .has_arg = optional_argument, .flag = NULL, .val = 'b'},
- { },
+ {"perf-bias", optional_argument, NULL, 'b'},
+ { },
};
static void print_wrong_arg_exit(void)