diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2011-08-25 15:46:13 +0200 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2011-08-25 15:46:13 +0200 |
commit | 269de4f0bbe07a6607eac062129fc0fd68c5a32e (patch) | |
tree | 85e0210dbb4a849e6ed55a1cc711877030549a29 | |
parent | 25fc4a3e710aec3632a6f34a073427fe90b365a9 (diff) | |
download | powerdebug-269de4f0bbe07a6607eac062129fc0fd68c5a32e.tar.gz |
add GPIO definition
Add the enum definition we can rely on for the next patches.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
-rw-r--r-- | display.c | 1 | ||||
-rw-r--r-- | display.h | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -63,6 +63,7 @@ struct windata windata[] = { [CLOCK] = { .name = "Clocks" }, [REGULATOR] = { .name = "Regulators" }, [SENSOR] = { .name = "Sensors" }, + [GPIO] = { .name = "Gpio" }, }; static void display_fini(void) @@ -13,7 +13,7 @@ * - initial API and implementation *******************************************************************************/ -enum { CLOCK, REGULATOR, SENSOR }; +enum { CLOCK, REGULATOR, SENSOR, GPIO }; struct display_ops { int (*display)(bool refresh); |