aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmit Arora <amit.arora@linaro.org>2010-12-05 18:58:59 +0530
committerAmit Arora <amit.arora@linaro.org>2010-12-05 18:58:59 +0530
commite7bbf7896b8dfab954427b8cfee8832ec5924740 (patch)
tree3e971bca9a39b791f10f5dd53b206813e92b4949
parent422c52fa5209e8e97d45cc3718bc3c61ddf82f88 (diff)
downloadpowerdebug-e7bbf7896b8dfab954427b8cfee8832ec5924740.tar.gz
Move numregulators to regulator.h
-rw-r--r--powerdebug.c1
-rw-r--r--regulator.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/powerdebug.c b/powerdebug.c
index 0b405c0..197f255 100644
--- a/powerdebug.c
+++ b/powerdebug.c
@@ -17,7 +17,6 @@
#include <getopt.h>
#include "powerdebug.h"
-int numregulators;
int dump;
int highlighted_row;
int selectedwindow = -1;
diff --git a/regulator.h b/regulator.h
index c8aac5e..91e01d8 100644
--- a/regulator.h
+++ b/regulator.h
@@ -23,6 +23,8 @@
#define VALUE_MAX 16
+int numregulators;
+
struct regulator_info {
char name[NAME_MAX];
char state[VALUE_MAX];