diff options
author | Juan Quintela <quintela@redhat.com> | 2009-09-29 22:48:39 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-10-05 09:32:38 -0500 |
commit | b53d44e5132495d40416be5e241cf5dbd349331e (patch) | |
tree | 6d709cae83f4a3c8605b66ead35d974275eb1960 /hw/twl92230.c | |
parent | 371a44686318b07f254753c7ca2d6ecc0a3b64a4 (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.c | 2 |
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; |