aboutsummaryrefslogtreecommitdiffstats
path: root/arch/frv/mm/kmap.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-06-23 05:04:03 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-23 10:42:54 -0400
commit3f4cd389c3564caf1eec70957fcbd9d88c995d45 (patch)
treea7d5870592f04adc4ee2c2e004737a976b28f728 /arch/frv/mm/kmap.c
parenta8a77573c9e5345bcf6a963858745cd83c923f44 (diff)
[PATCH] frv: basic __iomem annotations
Add annotations to the FRV I/O handling functions for sparse. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/frv/mm/kmap.c')
-rw-r--r--arch/frv/mm/kmap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/frv/mm/kmap.c b/arch/frv/mm/kmap.c
index c54f18e65ea6..40b62c5c2951 100644
--- a/arch/frv/mm/kmap.c
+++ b/arch/frv/mm/kmap.c
@@ -31,15 +31,15 @@
31 * Map some physical address range into the kernel address space. 31 * Map some physical address range into the kernel address space.
32 */ 32 */
33 33
34void *__ioremap(unsigned long physaddr, unsigned long size, int cacheflag) 34void __iomem *__ioremap(unsigned long physaddr, unsigned long size, int cacheflag)
35{ 35{
36 return (void *)physaddr; 36 return (void __iomem *)physaddr;
37} 37}
38 38
39/* 39/*
40 * Unmap a ioremap()ed region again 40 * Unmap a ioremap()ed region again
41 */ 41 */
42void iounmap(void *addr) 42void iounmap(void volatile __iomem *addr)
43{ 43{
44} 44}
45 45