Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

device_tree.c: minor integrate

Change-Id: Icdf8faee825c68ab572311d74c981b07495c4875
  • Loading branch information...
commit 69ed952d12252a9219c7a925f5aea5c17362576a 1 parent e1c0948
@digit-android digit-android authored
Showing with 2 additions and 3 deletions.
  1. +1 −2  device_tree.c
  2. +1 −1  device_tree.h
View
3  device_tree.c
@@ -20,7 +20,6 @@
#include "config.h"
#include "qemu-common.h"
-#include "sysemu.h"
#include "device_tree.h"
#include "hw/loader.h"
@@ -74,7 +73,7 @@ void *load_device_tree(const char *filename_path, int *sizep)
}
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;
View
2  device_tree.h
@@ -17,7 +17,7 @@
void *load_device_tree(const char *filename_path, int *sizep);
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 qemu_devtree_setprop_cell(void *fdt, const char *node_path,
const char *property, uint32_t val);
int qemu_devtree_setprop_string(void *fdt, const char *node_path,
Please sign in to comment.
Something went wrong with that request. Please try again.