Skip to content

Commit

Permalink
[ARM] 4042/1: H1940: Fix sparse errors from VA addresses
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ben Dooks authored and Russell King committed Dec 17, 2006
1 parent cdcb383 commit 2d8c1ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/asm-arm/arch-s3c2410/h1940-latch.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2d8c1ce

Please sign in to comment.