diff options
author | Julien Grall <julien.grall@linaro.org> | 2013-09-13 13:49:08 +0100 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2013-09-17 15:27:15 +0100 |
commit | 9fe65ea7397b114c1d90e4a445395955220f099c (patch) | |
tree | a6c7f29902197485139ea384b8f85ea93782ec26 /xen/common | |
parent | f3f5f1927f0d3aef9e3d2ce554dbfa0de73487d5 (diff) | |
download | xen-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/common')
-rw-r--r-- | xen/common/device_tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/common/device_tree.c b/xen/common/device_tree.c index c4f0f2cfde..a5abdaa462 100644 --- a/xen/common/device_tree.c +++ b/xen/common/device_tree.c @@ -26,7 +26,7 @@ #include <asm/early_printk.h> struct dt_early_info __initdata early_info; -void *device_tree_flattened; +const void *device_tree_flattened; dt_irq_xlate_func dt_irq_xlate; /* Host device tree */ struct dt_device_node *dt_host; |