aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include
diff options
context:
space:
mode:
authorJulien Grall <julien.grall@linaro.org>2013-09-13 13:49:08 +0100
committerIan Campbell <ian.campbell@citrix.com>2013-09-17 15:27:15 +0100
commit9fe65ea7397b114c1d90e4a445395955220f099c (patch)
treea6c7f29902197485139ea384b8f85ea93782ec26 /xen/include
parentf3f5f1927f0d3aef9e3d2ce554dbfa0de73487d5 (diff)
downloadxen-9fe65ea7397b114c1d90e4a445395955220f099c.tar.gz
xen-9fe65ea7397b114c1d90e4a445395955220f099c.tar.bz2
xen-9fe65ea7397b114c1d90e4a445395955220f099c.zip
xen/dts: Constify device_tree_flattened
The Flat Device Tree is given by the bootloader. Xen doesn't need to modify it. Signed-off-by: Julien Grall <julien.grall@linaro.org> Acked-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'xen/include')
-rw-r--r--xen/include/xen/device_tree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/include/xen/device_tree.h b/xen/include/xen/device_tree.h
index 5cc1905461..2e5564e56f 100644
--- a/xen/include/xen/device_tree.h
+++ b/xen/include/xen/device_tree.h
@@ -164,7 +164,7 @@ typedef int (*device_tree_node_func)(const void *fdt,
void *data);
extern struct dt_early_info early_info;
-extern void *device_tree_flattened;
+extern const void *device_tree_flattened;
size_t __init device_tree_early_init(const void *fdt);