[PATCH] sun3 __iomem annotations

Signed-off-by: Al Viro <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Al Viro 2006-10-11 17:28:17 +01:00 • committed by Linus Torvalds
commit 437111ca38
3 changed files with 8 additions and 8 deletions

View file

@ -330,7 +330,7 @@ out2:
out1:
free_netdev(dev);
out:
iounmap((void *)ioaddr);
iounmap((void __iomem *)ioaddr);
return ERR_PTR(err);
}

View file

@ -286,7 +286,7 @@ struct net_device * __init sun3lance_probe(int unit)
out1:
#ifdef CONFIG_SUN3
iounmap((void *)dev->base_addr);
iounmap((void __iomem *)dev->base_addr);
#endif
out:
free_netdev(dev);
@ -326,7 +326,7 @@ static int __init lance_probe( struct net_device *dev)
ioaddr_probe[1] = tmp2;
#ifdef CONFIG_SUN3
iounmap((void *)ioaddr);
iounmap((void __iomem *)ioaddr);
#endif
return 0;
}
@ -956,7 +956,7 @@ void cleanup_module(void)
{
unregister_netdev(sun3lance_dev);
#ifdef CONFIG_SUN3
iounmap((void *)sun3lance_dev->base_addr);
iounmap((void __iomem *)sun3lance_dev->base_addr);
#endif
free_netdev(sun3lance_dev);
}