projects
/
qemu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
qom: Unify type registration
[qemu.git]
/
hw
/
vga-pci.c
diff --git
a/hw/vga-pci.c
b/hw/vga-pci.c
index 974a7a9d6f217e98a5052139d78c8c57cab39748..465b643d21c98296b5c0c321f72c63cf1db574d1 100644
(file)
--- a/
hw/vga-pci.c
+++ b/
hw/vga-pci.c
@@
-96,8
+96,9
@@
static TypeInfo vga_info = {
.class_init = vga_class_init,
};
-static void vga_register(void)
+static void vga_register
_types
(void)
{
type_register_static(&vga_info);
}
-device_init(vga_register);
+
+type_init(vga_register_types)
This page took
0.021767 seconds
and
4
git commands to generate.