Skip to content

Commit

Permalink
[PATCH] cyber2000fb.c __iomem annotations
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Al Viro authored and Linus Torvalds committed Dec 15, 2005
1 parent e896fd9 commit cd03066
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/video/cyber2000fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1512,7 +1512,7 @@ static int cyberpro_pci_enable_mmio(struct cfb_info *cfb)
* 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) {
Expand All @@ -1526,7 +1526,7 @@ static int cyberpro_pci_enable_mmio(struct cfb_info *cfb)
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
Expand Down

0 comments on commit cd03066

Please sign in to comment.