Revision a1e47211 hw/vga-pci.c
b/hw/vga-pci.c | ||
---|---|---|
47 | 47 |
} |
48 | 48 |
}; |
49 | 49 |
|
50 |
static int pci_vga_initfn(PCIDevice *dev) |
|
50 |
static int pci_std_vga_initfn(PCIDevice *dev)
|
|
51 | 51 |
{ |
52 | 52 |
PCIVGAState *d = DO_UPCAST(PCIVGAState, dev, dev); |
53 | 53 |
VGACommonState *s = &d->vga; |
... | ... | |
70 | 70 |
return 0; |
71 | 71 |
} |
72 | 72 |
|
73 |
DeviceState *pci_vga_init(PCIBus *bus) |
|
73 |
DeviceState *pci_std_vga_init(PCIBus *bus)
|
|
74 | 74 |
{ |
75 | 75 |
return &pci_create_simple(bus, -1, "VGA")->qdev; |
76 | 76 |
} |
... | ... | |
86 | 86 |
PCIDeviceClass *k = PCI_DEVICE_CLASS(klass); |
87 | 87 |
|
88 | 88 |
k->no_hotplug = 1; |
89 |
k->init = pci_vga_initfn; |
|
89 |
k->init = pci_std_vga_initfn;
|
|
90 | 90 |
k->romfile = "vgabios-stdvga.bin"; |
91 | 91 |
k->vendor_id = PCI_VENDOR_ID_QEMU; |
92 | 92 |
k->device_id = PCI_DEVICE_ID_QEMU_VGA; |
Also available in: Unified diff