git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
drivers
/
isdn
/
hisax
/
isurf.c
diff --git
a/drivers/isdn/hisax/isurf.c
b/drivers/isdn/hisax/isurf.c
index
c2759f7
..
af5171d
100644
(file)
--- a/
drivers/isdn/hisax/isurf.c
+++ b/
drivers/isdn/hisax/isurf.c
@@
-126,7
+126,7
@@
void
release_io_isurf(struct IsdnCardState *cs)
{
release_region(cs->hw.isurf.reset, 1);
release_io_isurf(struct IsdnCardState *cs)
{
release_region(cs->hw.isurf.reset, 1);
- iounmap(
(unsigned char *)
cs->hw.isurf.isar);
+ iounmap(cs->hw.isurf.isar);
release_mem_region(cs->hw.isurf.phymem, ISURF_IOMEM_SIZE);
}
release_mem_region(cs->hw.isurf.phymem, ISURF_IOMEM_SIZE);
}
@@
-272,8
+272,7
@@
setup_isurf(struct IsdnCard *card)
release_region(cs->hw.isurf.reset, 1);
return (0);
}
release_region(cs->hw.isurf.reset, 1);
return (0);
}
- cs->hw.isurf.isar =
- (unsigned long) ioremap(cs->hw.isurf.phymem, ISURF_IOMEM_SIZE);
+ cs->hw.isurf.isar = ioremap(cs->hw.isurf.phymem, ISURF_IOMEM_SIZE);
cs->hw.isurf.isac = cs->hw.isurf.isar + ISURF_ISAC_OFFSET;
printk(KERN_INFO
"ISurf: defined at 0x%x 0x%lx IRQ %d\n",
cs->hw.isurf.isac = cs->hw.isurf.isar + ISURF_ISAC_OFFSET;
printk(KERN_INFO
"ISurf: defined at 0x%x 0x%lx IRQ %d\n",