提交 b53d44e5 编写于 作者: J Juan Quintela 提交者: Anthony Liguori

twl92230: change pwrbtn_state to uint8_t

its value is always the level of an interrupt, 0 or 1
Signed-off-by: NJuan Quintela <quintela@redhat.com>
Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
上级 371a4468
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册