projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e84c80
)
[PATCH] iomem annotations (ac3200.c)
author
viro@ftp.linux.org.uk
<viro@ftp.linux.org.uk>
Tue, 6 Sep 2005 00:36:58 +0000
(
01:36
+0100)
committer
Jeff Garzik
<jgarzik@pobox.com>
Wed, 7 Sep 2005 02:17:12 +0000
(22:17 -0400)
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>
drivers/net/ac3200.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/ac3200.c
b/drivers/net/ac3200.c
index 91791ba3776930bb8354ad691680ac00e0882b85..8a0af5453e21c93ed6eb19e7d8d925b65cc16cee 100644
(file)
--- 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: