diff mbox

[powerdebug,2/7] add GPIO definition

Message ID 1314280027-7547-2-git-send-email-daniel.lezcano@linaro.org
State Accepted
Headers show

Commit Message

Daniel Lezcano Aug. 25, 2011, 1:47 p.m. UTC
Add the enum definition we can rely on for the next patches.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
---
 display.c |    1 +
 display.h |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)
diff mbox

Patch

diff --git a/display.c b/display.c
index ebc4de6..f06387c 100644
--- a/display.c
+++ b/display.c
@@ -63,6 +63,7 @@  struct windata windata[] = {
 	[CLOCK]     = { .name = "Clocks"     },
 	[REGULATOR] = { .name = "Regulators" },
 	[SENSOR]    = { .name = "Sensors"    },
+	[GPIO]      = { .name = "Gpio"    },
 };
 
 static void display_fini(void)
diff --git a/display.h b/display.h
index 9e4e21a..035b2e9 100644
--- a/display.h
+++ b/display.h
@@ -13,7 +13,7 @@ 
  *       - initial API and implementation
  *******************************************************************************/
 
-enum { CLOCK, REGULATOR, SENSOR };
+enum { CLOCK, REGULATOR, SENSOR, GPIO };
 
 struct display_ops {
 	int (*display)(bool refresh);