Commit 5ac90037 authored by viro@ftp.linux.org.uk's avatar viro@ftp.linux.org.uk Committed by Jeff Garzik

[PATCH] iomem annotations (ac3200.c)

no need to mess with (wrong) casts for ->mem_start, when we have the
original iomem pointer used to set ->mem_start in the first place...
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
parent 8e84c801
...@@ -275,7 +275,7 @@ static int __init ac_probe1(int ioaddr, struct net_device *dev) ...@@ -275,7 +275,7 @@ static int __init ac_probe1(int ioaddr, struct net_device *dev)
return 0; return 0;
out2: out2:
if (ei_status.reg0) if (ei_status.reg0)
iounmap((void *)dev->mem_start); iounmap(ei_status.mem);
out1: out1:
free_irq(dev->irq, dev); free_irq(dev->irq, dev);
out: out:
......
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