projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1be7daa
)
vmware_vga: clean up
author
Isaku Yamahata
<yamahata@valinux.co.jp>
Thu, 18 Jun 2009 10:55:38 +0000
(19:55 +0900)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Mon, 22 Jun 2009 15:15:29 +0000
(10:15 -0500)
use NULL instead of 0 for pci_register_device() argument
for consistency. Any other caller uses NULL.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/vmware_vga.c
patch
|
blob
|
history
diff --git
a/hw/vmware_vga.c
b/hw/vmware_vga.c
index 9c354dd108115df62a62af5f2f06bae90acb2377..accdac49868d8daaf9da5d473f67dbc10f3afcf3 100644
(file)
--- a/
hw/vmware_vga.c
+++ b/
hw/vmware_vga.c
@@
-1217,7
+1217,7
@@
void pci_vmsvga_init(PCIBus *bus)
/* Setup PCI configuration */
s = (struct pci_vmsvga_state_s *)
pci_register_device(bus, "QEMUware SVGA",
- sizeof(struct pci_vmsvga_state_s), -1,
0, 0
);
+ sizeof(struct pci_vmsvga_state_s), -1,
NULL, NULL
);
pci_config_set_vendor_id(s->card.config, PCI_VENDOR_ID_VMWARE);
pci_config_set_device_id(s->card.config, SVGA_PCI_DEVICE_ID);
s->card.config[PCI_COMMAND] = 0x07; /* I/O + Memory */