diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-06-23 05:04:03 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-23 10:42:54 -0400 |
commit | 3f4cd389c3564caf1eec70957fcbd9d88c995d45 (patch) | |
tree | a7d5870592f04adc4ee2c2e004737a976b28f728 /arch | |
parent | a8a77573c9e5345bcf6a963858745cd83c923f44 (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')
-rw-r--r-- | arch/frv/mm/kmap.c | 6 |
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 | ||
34 | void *__ioremap(unsigned long physaddr, unsigned long size, int cacheflag) | 34 | void __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 | */ |
42 | void iounmap(void *addr) | 42 | void iounmap(void volatile __iomem *addr) |
43 | { | 43 | { |
44 | } | 44 | } |
45 | 45 | ||