lm832x: make fields to have the same types that they are saved/loaded
commite69f0602ee113167c663e86c9ca93f0efbaaf01d
authorJuan Quintela <quintela@redhat.com>
Tue, 29 Sep 2009 20:48:42 +0000 (29 22:48 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 5 Oct 2009 14:32:39 +0000 (5 09:32 -0500)
tree9fa2dbdad62f7ada1db3a31b7d943bcc31ca38bd
parent19df438b63c7164ce4848f526764f374f748bc19
lm832x: make fields to have the same types that they are saved/loaded

They were saved as uint8_t already.  To make things simpler, I just
reg == -1 used to indicate an error, I create LM832x_GENERAL_ERROR
with vale 0xff to represet it

Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/lm832x.c