From: Ben Dooks Date: Sun, 17 Dec 2006 19:18:40 +0000 (+0100) Subject: [ARM] 4042/1: H1940: Fix sparse errors from VA addresses X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2d8c1cef84dcba462e1806c1223aecd97df33f99;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [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 Signed-off-by: Russell King --- diff --git a/include/asm-arm/arch-s3c2410/h1940-latch.h b/include/asm-arm/arch-s3c2410/h1940-latch.h index 22a7efd358f4..c3de5ab102eb 100644 --- a/include/asm-arm/arch-s3c2410/h1940-latch.h +++ b/include/asm-arm/arch-s3c2410/h1940-latch.h @@ -16,7 +16,7 @@ #ifndef __ASSEMBLY__ -#define H1940_LATCH ((void __iomem *)0xF8000000) +#define H1940_LATCH ((void __force __iomem *)0xF8000000) #else #define H1940_LATCH 0xF8000000 #endif