Thread (14 messages) 14 messages, 3 authors, 2012-08-04

[PATCH 2/4] arm: plat-orion: make bridge_virt_base non-const to support DT use case

flat view
STALE5180d

From: arnd@arndb.de (Arnd Bergmann)
Date: 2012-08-03 13:41:32

On Friday 03 August 2012, Thomas Petazzoni wrote:
quoted hunk ↗ jump to hunk
diff --git a/arch/arm/plat-orion/include/plat/addr-map.h b/arch/arm/plat-orion/include/plat/addr-map.h
index fd556f7..aafdd79 100644
--- a/arch/arm/plat-orion/include/plat/addr-map.h
+++ b/arch/arm/plat-orion/include/plat/addr-map.h
@@ -16,7 +16,7 @@ extern struct mbus_dram_target_info orion_mbus_dram_info;
 struct orion_addr_map_cfg {
        const int num_wins;     /* Total number of windows */
        const int remappable_wins;
-       const u32 bridge_virt_base;
+       u32 bridge_virt_base;
 
        /* If NULL, the default cpu_win_can_remap will be used, using
           the value in remappable_wins */
It would be nice to also change the type of this to void __iomem*, since you are
already touching the bridge_virt_base.

	Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help