[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>
此提交包含在:
Al Viro
2006-06-23 02:04:03 -07:00
提交者 Linus Torvalds
父節點 a8a77573c9
當前提交 3f4cd389c3
共有 3 個檔案被更改,包括 41 行新增30 行删除

查看文件

@@ -31,15 +31,15 @@
* Map some physical address range into the kernel address space.
*/
void *__ioremap(unsigned long physaddr, unsigned long size, int cacheflag)
void __iomem *__ioremap(unsigned long physaddr, unsigned long size, int cacheflag)
{
return (void *)physaddr;
return (void __iomem *)physaddr;
}
/*
* Unmap a ioremap()ed region again
*/
void iounmap(void *addr)
void iounmap(void volatile __iomem *addr)
{
}