소스 검색

[ARM] 4042/1: H1940: Fix sparse errors from VA addresses

Fix address-space conversion errors from passing addresses
generated from include/asm-arm/arch-s3c2410/map.h by adding
an __force argument to the `void __iomem *` for all the
virtual addresses.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Ben Dooks 18 년 전
부모
커밋
2d8c1cef84
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      include/asm-arm/arch-s3c2410/h1940-latch.h

+ 1 - 1
include/asm-arm/arch-s3c2410/h1940-latch.h

@@ -16,7 +16,7 @@
 
 
 
 
 #ifndef __ASSEMBLY__
 #ifndef __ASSEMBLY__
-#define H1940_LATCH		((void __iomem *)0xF8000000)
+#define H1940_LATCH		((void __force __iomem *)0xF8000000)
 #else
 #else
 #define H1940_LATCH		0xF8000000
 #define H1940_LATCH		0xF8000000
 #endif
 #endif