X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Ffrv%2Fmm%2Fkmap.c;fp=arch%2Ffrv%2Fmm%2Fkmap.c;h=fb78be38ea02633825f1ef904e9b1b5d6012a0b9;hb=16c70f8c1b54b61c3b951b6fb220df250fe09b32;hp=c54f18e65ea6e31873dd3a16a3f1216c5f261478;hpb=4e76c8a9fa413ccc09d3f7f664183dcce3555d57;p=linux-2.6.git diff --git a/arch/frv/mm/kmap.c b/arch/frv/mm/kmap.c index c54f18e65..fb78be38e 100644 --- a/arch/frv/mm/kmap.c +++ b/arch/frv/mm/kmap.c @@ -10,7 +10,6 @@ * 2 of the License, or (at your option) any later version. */ -#include #include #include #include @@ -31,15 +30,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) { }