[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>
此提交包含在:
@@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
新增問題並參考
封鎖使用者