projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b6764f
)
Documentation: fix ioremap return type
author
H Hartley Sweeten
<
[email protected]
>
Sat, 2 Jan 2010 04:35:41 +0000
(20:35 -0800)
committer
Linus Torvalds
<
[email protected]
>
Sat, 2 Jan 2010 18:09:44 +0000
(10:09 -0800)
ioremap() returns a void __iomem * not a char *. Update the documentation
file to reflect this.
Signed-off-by: H Hartley Sweeten <
[email protected]
>
Signed-off-by: Randy Dunlap <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
Documentation/IO-mapping.txt
patch
|
blob
|
history
diff --git
a/Documentation/IO-mapping.txt
b/Documentation/IO-mapping.txt
index 78a440695e11876287ec04e46c275e141082f5d9..1b5aa10df84564ee5f3278abbe5b836a521839d2 100644
(file)
--- 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);