[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-arm] [PATCH 5/9] hw/arm: QOM'ify pxa2xx_pic.c
From: |
xiaoqiang zhao |
Subject: |
[Qemu-arm] [PATCH 5/9] hw/arm: QOM'ify pxa2xx_pic.c |
Date: |
Mon, 7 Mar 2016 15:05:46 +0800 |
Remove the empty 'pxa2xx_pic_initfn' and it's
setup code in the 'pxa2xx_pic_class_init'
Signed-off-by: xiaoqiang zhao <address@hidden>
---
hw/arm/pxa2xx_pic.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/hw/arm/pxa2xx_pic.c b/hw/arm/pxa2xx_pic.c
index 8a39b1c..9e08c55 100644
--- a/hw/arm/pxa2xx_pic.c
+++ b/hw/arm/pxa2xx_pic.c
@@ -308,17 +308,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;
}
--
2.1.4
- [Qemu-arm] [PATCH 0/9] some QOM'ify work under hw/arm, xiaoqiang zhao, 2016/03/07
- [Qemu-arm] [PATCH 2/9] hw/arm: QOM'ify highbank.c, xiaoqiang zhao, 2016/03/07
- [Qemu-arm] [PATCH 3/9] hw/arm: QOM'ify integratorcp.c, xiaoqiang zhao, 2016/03/07
- [Qemu-arm] [PATCH 9/9] hw/arm: QOM'ify versatilepb.c, xiaoqiang zhao, 2016/03/07
- [Qemu-arm] [PATCH 5/9] hw/arm: QOM'ify pxa2xx_pic.c,
xiaoqiang zhao <=
- [Qemu-arm] [PATCH 1/9] hw/arm: QOM'ify armv7m.c, xiaoqiang zhao, 2016/03/07
- [Qemu-arm] [PATCH 8/9] hw/arm: QOM'ify strongarm.c, xiaoqiang zhao, 2016/03/07
- [Qemu-arm] [PATCH 7/9] hw/arm: QOM'ify stellaris.c, xiaoqiang zhao, 2016/03/07
- [Qemu-arm] [PATCH 4/9] hw/arm: QOM'ify pxa2xx.c, xiaoqiang zhao, 2016/03/07
- [Qemu-arm] [PATCH 6/9] hw/arm: QOM'ify spitz.c, xiaoqiang zhao, 2016/03/07