]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/pl022.c
console: vga_hw_screen_dump_ptr: take Error argument
[mirror_qemu.git] / hw / pl022.c
index 30bd3442bbcd5c9a22e3181be25efd6123c63cec..60e35daeb584be819d6a6cc6d6fbec659114e0e8 100644 (file)
@@ -9,7 +9,6 @@
 
 #include "sysbus.h"
 #include "ssi.h"
-#include "primecell.h"
 
 //#define DEBUG_PL022 1
 
@@ -299,9 +298,9 @@ static TypeInfo pl022_info = {
     .class_init    = pl022_class_init,
 };
 
-static void pl022_register_devices(void)
+static void pl022_register_types(void)
 {
     type_register_static(&pl022_info);
 }
 
-device_init(pl022_register_devices)
+type_init(pl022_register_types)