summaryrefslogtreecommitdiff
path: root/drivers/net/ac3200.c
diff options
context:
space:
mode:
authorviro@ftp.linux.org.uk <viro@ftp.linux.org.uk>2005-09-06 01:36:58 +0100
committerJeff Garzik <jgarzik@pobox.com>2005-09-06 22:17:12 -0400
commit5ac90037c8ea428bbf7c5ce383a63a05d05ec763 (patch)
tree68ee9ede7d7abc40d9baec6ee73e8d91ccc2053d /drivers/net/ac3200.c
parent8e84c801bad50d2e0e9f802610d2c13f8d342230 (diff)
[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: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net/ac3200.c')
-rw-r--r--drivers/net/ac3200.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ac3200.c b/drivers/net/ac3200.c
index 91791ba37769..8a0af5453e21 100644
--- a/drivers/net/ac3200.c
+++ b/drivers/net/ac3200.c
@@ -275,7 +275,7 @@ static int __init ac_probe1(int ioaddr, struct net_device *dev)
return 0;
out2:
if (ei_status.reg0)
- iounmap((void *)dev->mem_start);
+ iounmap(ei_status.mem);
out1:
free_irq(dev->irq, dev);
out: