mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
vmware_vga: refactor device creation
Turn vmsvga_init into an inline function. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
55619bb667
commit
5c81e4ca9e
2 changed files with 4 additions and 6 deletions
|
@ -4,6 +4,9 @@
|
|||
#include "qemu-common.h"
|
||||
|
||||
/* vmware_vga.c */
|
||||
void pci_vmsvga_init(PCIBus *bus);
|
||||
static inline void pci_vmsvga_init(PCIBus *bus)
|
||||
{
|
||||
pci_create_simple(bus, -1, "vmware-svga");
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue