Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 98134
b: refs/heads/master
c: fbc69fd
h: refs/heads/master
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Jun 15, 2008
1 parent ad8de5e commit b5da065
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 792a1a98560a2a1619491eed8b18fccb09b312a7
refs/heads/master: fbc69fd9b76158daaa83e5372e44fdd81df20f92
8 changes: 6 additions & 2 deletions trunk/drivers/ide/legacy/ide-cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,13 +135,17 @@ static void ide_detach(struct pcmcia_device *link)
{
ide_info_t *info = link->priv;
ide_hwif_t *hwif = info->hwif;
unsigned long data_addr, ctl_addr;

DEBUG(0, "ide_detach(0x%p)\n", link);

data_addr = hwif->io_ports.data_addr;
ctl_addr = hwif->io_ports.ctl_addr;

ide_release(link);

release_region(hwif->io_ports.ctl_addr, 1);
release_region(hwif->io_ports.data_addr, 8);
release_region(ctl_addr, 1);
release_region(data_addr, 8);

kfree(info);
} /* ide_detach */
Expand Down

0 comments on commit b5da065

Please sign in to comment.