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>
This commit is contained in:
parent
371a446863
commit
b53d44e513
@ -62,7 +62,7 @@ typedef struct {
|
|||||||
} rtc;
|
} rtc;
|
||||||
qemu_irq out[4];
|
qemu_irq out[4];
|
||||||
qemu_irq *in;
|
qemu_irq *in;
|
||||||
int pwrbtn_state;
|
uint8_t pwrbtn_state;
|
||||||
qemu_irq pwrbtn;
|
qemu_irq pwrbtn;
|
||||||
} MenelausState;
|
} MenelausState;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user