Commit cd030665 authored by Al Viro's avatar Al Viro Committed by Linus Torvalds

[PATCH] cyber2000fb.c __iomem annotations

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent e896fd98
...@@ -1512,7 +1512,7 @@ static int cyberpro_pci_enable_mmio(struct cfb_info *cfb) ...@@ -1512,7 +1512,7 @@ static int cyberpro_pci_enable_mmio(struct cfb_info *cfb)
* I/O cycles storing into a reserved memory space at * I/O cycles storing into a reserved memory space at
* physical address 0x3000000 * physical address 0x3000000
*/ */
unsigned char *iop; unsigned char __iomem *iop;
iop = ioremap(0x3000000, 0x5000); iop = ioremap(0x3000000, 0x5000);
if (iop == NULL) { if (iop == NULL) {
...@@ -1526,7 +1526,7 @@ static int cyberpro_pci_enable_mmio(struct cfb_info *cfb) ...@@ -1526,7 +1526,7 @@ static int cyberpro_pci_enable_mmio(struct cfb_info *cfb)
writeb(EXT_BIU_MISC, iop + 0x3ce); writeb(EXT_BIU_MISC, iop + 0x3ce);
writeb(EXT_BIU_MISC_LIN_ENABLE, iop + 0x3cf); writeb(EXT_BIU_MISC_LIN_ENABLE, iop + 0x3cf);
iounmap((void *)iop); iounmap(iop);
#else #else
/* /*
* Most other machine types are "normal", so * Most other machine types are "normal", so
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment