Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 115908
b: refs/heads/master
c: da1cfe1
h: refs/heads/master
v: v3
  • Loading branch information
Jiri Slaby authored and Linus Torvalds committed Oct 20, 2008
1 parent a28e1d7 commit 5563223
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 8c9398d1e9766e3659e277acb2e8ca1c17684139
refs/heads/master: da1cfe1ae48b2af7394718ec07194806db5dfe61
6 changes: 3 additions & 3 deletions trunk/drivers/char/sx.c
Original file line number Diff line number Diff line change
Expand Up @@ -2504,7 +2504,7 @@ static void __devexit sx_remove_card(struct sx_board *board,
del_timer(&board->timer);
if (pdev) {
#ifdef CONFIG_PCI
pci_iounmap(pdev, board->base2);
iounmap(board->base2);
pci_release_region(pdev, IS_CF_BOARD(board) ? 3 : 2);
#endif
} else {
Expand Down Expand Up @@ -2677,7 +2677,7 @@ static int __devinit sx_pci_probe(struct pci_dev *pdev,
}
board->hw_base = pci_resource_start(pdev, reg);
board->base2 =
board->base = pci_iomap(pdev, reg, WINDOW_LEN(board));
board->base = ioremap_nocache(board->hw_base, WINDOW_LEN(board));
if (!board->base) {
dev_err(&pdev->dev, "ioremap failed\n");
goto err_reg;
Expand All @@ -2703,7 +2703,7 @@ static int __devinit sx_pci_probe(struct pci_dev *pdev,

return 0;
err_unmap:
pci_iounmap(pdev, board->base2);
iounmap(board->base2);
err_reg:
pci_release_region(pdev, reg);
err_flag:
Expand Down

0 comments on commit 5563223

Please sign in to comment.