]> xenbits.xensource.com Git - qemu-xen-4.4-testing.git/commitdiff
disable if CONFIG_DM
authorIan Jackson <iwj@mariner.uk.xensource.com>
Thu, 29 May 2008 15:57:15 +0000 (16:57 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 29 May 2008 15:57:15 +0000 (16:57 +0100)
hw/vmware_vga.c

index 2f9b15ccd5e0427905343b0c0f4381c27539798f..ddeec325ec0f51395900431406852bdd0f55d8d0 100644 (file)
@@ -25,6 +25,8 @@
 #include "console.h"
 #include "pci.h"
 
+#ifndef CONFIG_DM
+
 #define VERBOSE
 #define EMBED_STDVGA
 #undef DIRECT_VRAM
@@ -1246,3 +1248,9 @@ void pci_vmsvga_init(PCIBus *bus, DisplayState *ds, uint8_t *vga_ram_base,
 
     register_savevm("vmware_vga", 0, 0, pci_vmsvga_save, pci_vmsvga_load, s);
 }
+
+#else /*CONFIG_DM*/
+void pci_vmsvga_init(PCIBus *bus, DisplayState *ds, uint8_t *vga_ram_base,
+                     unsigned long vga_ram_offset, int vga_ram_size) {
+}
+#endif