summaryrefslogtreecommitdiff
path: root/src/include/device_tree.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/device_tree.h')
-rw-r--r--src/include/device_tree.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/device_tree.h b/src/include/device_tree.h
index e3723c86ac..d9d9613f96 100644
--- a/src/include/device_tree.h
+++ b/src/include/device_tree.h
@@ -52,7 +52,7 @@ struct fdt_header {
struct fdt_property
{
const char *name;
- const void *data;
+ void *data;
uint32_t size;
};
@@ -165,7 +165,7 @@ void dt_write_int(u8 *dest, u64 src, size_t length);
void dt_delete_prop(struct device_tree_node *node, const char *name);
// Add different kinds of properties to a node, or update existing ones.
void dt_add_bin_prop(struct device_tree_node *node, const char *name,
- const void *data, size_t size);
+ void *data, size_t size);
void dt_add_string_prop(struct device_tree_node *node, const char *name,
const char *str);
void dt_add_u32_prop(struct device_tree_node *node, const char *name, u32 val);