aboutsummaryrefslogtreecommitdiff
path: root/clocks.h
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@free.fr>2011-03-26 22:06:08 +0100
committerAmit Kucheria <amit.kucheria@linaro.org>2011-04-04 02:53:32 +0300
commit9dc3fb39e45c336cd3e22ab902f362a36f3ae509 (patch)
tree164274a048a5c2acfc3740649e8320bb3fc20bfa /clocks.h
parent6e0c9c87cf38301f8dbf0b0f1ec9bf97dcb5fff6 (diff)
change debugfs finder function
Change the debugfs_locate_mpoint function to be nicer and more efficient. Another effect is that fixes a segmentation fault when calling powerdebug --dump Signed-off-by: Daniel Lezcano <daniel.lezcano@free.fr> Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
Diffstat (limited to 'clocks.h')
-rw-r--r--clocks.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/clocks.h b/clocks.h
index 4b176d0..dd9216a 100644
--- a/clocks.h
+++ b/clocks.h
@@ -36,17 +36,10 @@ struct clock_info {
struct clock_info **children;
} *clocks_info;
-char debugfs_mntpoint[1024];
char clock_lines[MAX_LINES][128];
int clock_line_no;
int old_clock_line_no;
-char *likely_mpoints[] = {
- "/sys/kernel/debug",
- "/debug",
- NULL
-};
-
void add_clock_details_recur(struct clock_info *clk, int hrow, int selected);
void destroy_clocks_info(void);
void destroy_clocks_info_recur(struct clock_info *clock);