projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7665a08
)
[PATCH] lne390 bogus casts
author
viro@ZenIV.linux.org.uk
<viro@ZenIV.linux.org.uk>
Fri, 9 Sep 2005 16:22:14 +0000
(17:22 +0100)
committer
Jeff Garzik
<jgarzik@pobox.com>
Wed, 14 Sep 2005 12:37:31 +0000
(08:37 -0400)
We already have the iomem pointer we need...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/lne390.c
patch
|
blob
|
history
diff --git
a/drivers/net/lne390.c
b/drivers/net/lne390.c
index
27f0d8a
..
309d254
100644
(file)
--- a/
drivers/net/lne390.c
+++ b/
drivers/net/lne390.c
@@
-298,7
+298,7
@@
static int __init lne390_probe1(struct net_device *dev, int ioaddr)
return 0;
unmap:
if (ei_status.reg0)
- iounmap(
(void *)dev->mem_start
);
+ iounmap(
ei_status.mem
);
cleanup:
free_irq(dev->irq, dev);
return ret;