X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=Documentation%2FIO-mapping.txt;h=1b5aa10df84564ee5f3278abbe5b836a521839d2;hb=48a6be6a0dd3982bb2d48e82b3e6f5458d9f3c63;hp=78a440695e11876287ec04e46c275e141082f5d9;hpb=dec14f8c0eff54549e5747f8a4d1dc6c0347e2dd;p=karo-tx-linux.git diff --git a/Documentation/IO-mapping.txt b/Documentation/IO-mapping.txt index 78a440695e11..1b5aa10df845 100644 --- a/Documentation/IO-mapping.txt +++ b/Documentation/IO-mapping.txt @@ -157,7 +157,7 @@ For such memory, you can do things like * access only the 640k-1MB area, so anything else * has to be remapped. */ - char * baseptr = ioremap(0xFC000000, 1024*1024); + void __iomem *baseptr = ioremap(0xFC000000, 1024*1024); /* write a 'A' to the offset 10 of the area */ writeb('A',baseptr+10);