summaryrefslogtreecommitdiffstats
path: root/tools/power/cpupower/utils/cpupower-info.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-11-12 00:22:56 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-11-12 00:22:56 +0100
commitf57ab32a843690fe7431ebb3a2f461e689a2e3c7 (patch)
treeb1316569e599668d1dd028297b569fe2ef75f651 /tools/power/cpupower/utils/cpupower-info.c
parentMerge branch 'pm-domains' (diff)
parentMerge branch 'turbostat' of git://git.kernel.org/pub/scm/linux/kernel/git/len... (diff)
downloadlinux-f57ab32a843690fe7431ebb3a2f461e689a2e3c7.tar.xz
linux-f57ab32a843690fe7431ebb3a2f461e689a2e3c7.zip
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 136d979e9586..10299f2e9d2a 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)