]> git.proxmox.com Git - qemu.git/blobdiff - device_tree.c
vga: Fix type of lfb/map_addr/end.
[qemu.git] / device_tree.c
index e213323dc2c10d72d6e1674cc5c5126c40b25c10..f5d5eb1bca5ecdd5cba9c34935d8901a2d627e1a 100644 (file)
@@ -20,8 +20,8 @@
 
 #include "config.h"
 #include "qemu-common.h"
-#include "sysemu.h"
 #include "device_tree.h"
+#include "hw/loader.h"
 
 #include <libfdt.h>
 
@@ -29,7 +29,6 @@ void *load_device_tree(const char *filename_path, int *sizep)
 {
     int dt_size;
     int dt_file_load_size;
-    int new_dt_size;
     int ret;
     void *fdt = NULL;
 
@@ -74,7 +73,7 @@ fail:
 }
 
 int qemu_devtree_setprop(void *fdt, const char *node_path,
-                         const char *property, uint32_t *val_array, int size)
+                         const char *property, void *val_array, int size)
 {
     int offset;