[PATCH 08/12] ARM: at91: boot_test_cmd: Use __iomem specifier for memory pointer

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


Signed-off-by: Alexander Shiyan <shc_work at mail.ru>
---
 arch/arm/mach-at91/boot_test_cmd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-at91/boot_test_cmd.c b/arch/arm/mach-at91/boot_test_cmd.c
index aa5c020..c0658b9 100644
--- a/arch/arm/mach-at91/boot_test_cmd.c
+++ b/arch/arm/mach-at91/boot_test_cmd.c
@@ -17,7 +17,7 @@ static int do_at91_boot_test(int argc, char *argv[])
 {
 	int opt;
 	u32 *buf32;
-	void *buf;
+	void __iomem *buf;
 	void (*jump)(void) = NULL;
 	int fd;
 	int ret = 1;
-- 
1.8.3.2




More information about the barebox mailing list