diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2013-03-15 14:34:19 +0000 |
|---|---|---|
| committer | Anthony Liguori <aliguori@us.ibm.com> | 2013-04-01 09:08:33 -0500 |
| commit | 4ce5dae88ecf2bafa0cd663de7e923728b1b3672 (patch) | |
| tree | 6621d7b14ed858057614f7083ce4760f2b28fa9e /hw/misc/mst_fpga.c | |
| parent | 5357406415571b3f03d05b60a143afdea2b9b1b9 (diff) | |
| download | focaccia-qemu-4ce5dae88ecf2bafa0cd663de7e923728b1b3672.tar.gz focaccia-qemu-4ce5dae88ecf2bafa0cd663de7e923728b1b3672.zip | |
sysbus: make SysBusDeviceClass::init optional
Make the SysBusDeviceClass::init optional, for devices which genuinely don't need to do anything here. In particular, simple devices which can do all their initialization in their instance_init method don't need either a DeviceClass::realize or SysBusDeviceClass::init method. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Acked-by: Andreas Färber <afaerber@suse.de> Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Message-id: 1363358063-23973-2-git-send-email-peter.maydell@linaro.org Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/misc/mst_fpga.c')
0 files changed, 0 insertions, 0 deletions