aboutsummaryrefslogtreecommitdiff
path: root/hw/twl92230.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-09-29 22:48:39 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-05 09:32:38 -0500
commitb53d44e5132495d40416be5e241cf5dbd349331e (patch)
tree6d709cae83f4a3c8605b66ead35d974275eb1960 /hw/twl92230.c
parent371a44686318b07f254753c7ca2d6ecc0a3b64a4 (diff)
twl92230: change pwrbtn_state to uint8_t
its value is always the level of an interrupt, 0 or 1 Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/twl92230.c')
-rw-r--r--hw/twl92230.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/twl92230.c b/hw/twl92230.c
index 68fab884a7..cd02d34fc0 100644
--- a/hw/twl92230.c
+++ b/hw/twl92230.c
@@ -62,7 +62,7 @@ typedef struct {
} rtc;
qemu_irq out[4];
qemu_irq *in;
- int pwrbtn_state;
+ uint8_t pwrbtn_state;
qemu_irq pwrbtn;
} MenelausState;