Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 179522
b: refs/heads/master
c: ff63ac5
h: refs/heads/master
v: v3
  • Loading branch information
Manu Abraham authored and Mauro Carvalho Chehab committed Jan 17, 2010
1 parent 12057ba commit 7023e41
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: f5701b67767c6b81a035c9e2b539025f91d1e84d
refs/heads/master: ff63ac56705539e162d2f020a0c2a607eae37d7b
5 changes: 4 additions & 1 deletion trunk/drivers/media/dvb/mantis/mantis_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,10 @@ static int __devinit mantis_pci_probe(struct pci_dev *pdev,
goto err0;
}

if ((mantis->mantis_mmio = ioremap(mantis->mantis_addr, 0x1000)) == NULL) {
mantis->mantis_mmio = ioremap(pci_resource_start(pdev, 0),
pci_resource_len(pdev, 0));

if (!mantis->mantis_mmio) {
dprintk(verbose, MANTIS_ERROR, 1, "IO remap failed");
ret = -ENODEV;
goto err1;
Expand Down

0 comments on commit 7023e41

Please sign in to comment.