aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormalc <av1474@comtv.ru>2009-09-10 19:59:00 +0400
committermalc <av1474@comtv.ru>2009-09-10 19:59:00 +0400
commit41875be5b40d3544e532186073a1297eb71ff67c (patch)
treeecd9d78056d623c354e83f210fdc01e779758703
parent32e0c8260d6333540c48ac7c8b33578b67789a5f (diff)
Fix formatting and and description field
-rw-r--r--hw/cs4231a.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/hw/cs4231a.c b/hw/cs4231a.c
index 91ee2aa2ce..e03c5d2423 100644
--- a/hw/cs4231a.c
+++ b/hw/cs4231a.c
@@ -659,12 +659,13 @@ static int cs4231a_initfn (ISADevice *dev)
int cs4231a_init (qemu_irq *pic)
{
- isa_create_simple("cs4231a");
+ isa_create_simple ("cs4231a");
return 0;
}
static ISADeviceInfo cs4231a_info = {
.qdev.name = "cs4231a",
+ .qdev.desc = "Crystal Semiconductor CS4231A",
.qdev.size = sizeof (CSState),
.init = cs4231a_initfn,
.qdev.props = (Property[]) {
@@ -675,8 +676,8 @@ static ISADeviceInfo cs4231a_info = {
},
};
-static void cs4231a_register(void)
+static void cs4231a_register (void)
{
- isa_qdev_register(&cs4231a_info);
+ isa_qdev_register (&cs4231a_info);
}
-device_init(cs4231a_register)
+device_init (cs4231a_register)