]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/arm/pxa2xx_pic.c
Merge remote-tracking branch 'remotes/ericb/tags/pull-nbd-2017-07-17' into staging
[mirror_qemu.git] / hw / arm / pxa2xx_pic.c
index d41ac9341696dbd56aefeea54d9e6ebbd87b19ad..b516ced8c044832dd57eaab4cc602e164f5827f4 100644 (file)
@@ -8,6 +8,9 @@
  * This code is licensed under the GPL.
  */
 
+#include "qemu/osdep.h"
+#include "qemu-common.h"
+#include "cpu.h"
 #include "hw/hw.h"
 #include "hw/arm/pxa.h"
 #include "hw/sysbus.h"
@@ -307,17 +310,10 @@ static VMStateDescription vmstate_pxa2xx_pic_regs = {
     },
 };
 
-static int pxa2xx_pic_initfn(SysBusDevice *dev)
-{
-    return 0;
-}
-
 static void pxa2xx_pic_class_init(ObjectClass *klass, void *data)
 {
     DeviceClass *dc = DEVICE_CLASS(klass);
-    SysBusDeviceClass *k = SYS_BUS_DEVICE_CLASS(klass);
 
-    k->init = pxa2xx_pic_initfn;
     dc->desc = "PXA2xx PIC";
     dc->vmsd = &vmstate_pxa2xx_pic_regs;
 }