Skip to contentSkip to conversation

cyber2000fb.c __iomem annotations

PATCH New Al Viro 1 participant 1 message Dec 15, 2005 Framebuffer layer

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 cyber2000fb.c __iomem annotations

---

 drivers/video/cyber2000fb.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

d4d9193e1e51ad227030f69bc1ee87264eb8ed09

drivers/video/cyber2000fb.c +2 -2
index c589d23..a9300f9 100644
@@ -1512,7 +1512,7 @@ static int cyberpro_pci_enable_mmio(stru
 	 * I/O cycles storing into a reserved memory space at
 	 * physical address 0x3000000
 	 */
-	unsigned char *iop;
+	unsigned char __iomem *iop;
 
 	iop = ioremap(0x3000000, 0x5000);
 	if (iop == NULL) {
@@ -1526,7 +1526,7 @@ static int cyberpro_pci_enable_mmio(stru
 	writeb(EXT_BIU_MISC, iop + 0x3ce);
 	writeb(EXT_BIU_MISC_LIN_ENABLE, iop + 0x3cf);
 
-	iounmap((void *)iop);
+	iounmap(iop);
 #else
 	/*
 	 * Most other machine types are "normal", so
Signature · 1 line
0.99.9.GIT