Permalink
Browse files

device_tree.c: minor integrate

Change-Id: Icdf8faee825c68ab572311d74c981b07495c4875
  • Loading branch information...
1 parent e1c0948 commit 69ed952d12252a9219c7a925f5aea5c17362576a @digit-android digit-android committed May 10, 2011
Showing with 2 additions and 3 deletions.
  1. +1 −2 device_tree.c
  2. +1 −1 device_tree.h
View
@@ -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
@@ -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,

0 comments on commit 69ed952

Please sign in to comment.