[PATCH 03/12] ARM: tqma6x: Use __iomem specifier for memory pointer

Alexander Shiyan shc_work at mail.ru
Sat Jan 25 14:34:19 EST 2014


Signed-off-by: Alexander Shiyan <shc_work at mail.ru>
---
 arch/arm/boards/tqma6x/board.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boards/tqma6x/board.c b/arch/arm/boards/tqma6x/board.c
index a870bf2..6ece7b5 100644
--- a/arch/arm/boards/tqma6x/board.c
+++ b/arch/arm/boards/tqma6x/board.c
@@ -106,8 +106,8 @@ extern char flash_header_tqma6q_end[];
 
 static int tqma6x_env_init(void)
 {
-	void *flash_header_start;
-	void *flash_header_end;
+	void __iomem *flash_header_start;
+	void __iomem *flash_header_end;
 
 	if (of_machine_is_compatible("tq,tqma6s")) {
 		flash_header_start = (void *)flash_header_tqma6dl_start;
-- 
1.8.3.2




More information about the barebox mailing list