Signed-off-by: Daniel Lezcano daniel.lezcano@linaro.org --- clocks.c | 2 +- powerdebug.c | 3 +-- powerdebug.h | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/clocks.c b/clocks.c index 8e3509c..5bcef51 100644 --- a/clocks.c +++ b/clocks.c @@ -567,7 +567,7 @@ out: return ret; }
-void read_and_dump_clock_info_one(char *clk, bool dump) +void read_and_dump_clock_info_one(char *clk) { printf("\nParents for "%s" Clock :\n\n", clk); read_clock_info(clk_dir_path); diff --git a/powerdebug.c b/powerdebug.c index af8d28c..f71a9df 100644 --- a/powerdebug.c +++ b/powerdebug.c @@ -313,8 +313,7 @@ static int powerdebug_dump(struct powerdebug_options *options, if (options->clocks) {
if (options->clkname) - read_and_dump_clock_info_one(options->clkname, - options->dump); + read_and_dump_clock_info_one(options->clkname); else read_and_dump_clock_info(options->verbose); } diff --git a/powerdebug.h b/powerdebug.h index 0d8e8d1..8e0c658 100644 --- a/powerdebug.h +++ b/powerdebug.h @@ -29,7 +29,7 @@ enum {CLOCK, REGULATOR, SENSOR}; enum {CLOCK_SELECTED = 1, REFRESH_WINDOW};
extern void read_and_dump_clock_info(int verbose); -extern void read_and_dump_clock_info_one(char *clk, bool dump); +extern void read_and_dump_clock_info_one(char *clk); extern int read_clock_info(char *clkpath); extern void find_parents_for_clock(char *clkname, int complete); extern int read_and_print_clock_info(int verbose, int hrow, int selected);