summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolger Waechtler <devnull@localhost>2004-10-28 19:12:16 +0000
committerHolger Waechtler <devnull@localhost>2004-10-28 19:12:16 +0000
commit0264fcf0cb455a994647c934db1576ec3def5629 (patch)
treeab2ac915c358b83dadd52c4ed16751a4819db41f
parent2d1bd0b2d37f0e301b1031037ff2c7134a80bca4 (diff)
downloadmediapointer-dvb-s2-0264fcf0cb455a994647c934db1576ec3def5629.tar.gz
mediapointer-dvb-s2-0264fcf0cb455a994647c934db1576ec3def5629.tar.bz2
random API changes cause random bugs
-rw-r--r--linux/drivers/media/dvb/cinergyT2/cinergyT2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/cinergyT2/cinergyT2.c b/linux/drivers/media/dvb/cinergyT2/cinergyT2.c
index 6f74af062..32f7800fa 100644
--- a/linux/drivers/media/dvb/cinergyT2/cinergyT2.c
+++ b/linux/drivers/media/dvb/cinergyT2/cinergyT2.c
@@ -645,8 +645,8 @@ int cinergyt2_mmap(struct file *file, struct vm_area_struct *vma)
vma->vm_flags |= (VM_IO | VM_DONTCOPY);
vma->vm_file = file;
- ret = remap_pfn_range(vma, vma->vm_start >> PAGE_SHIFT,
- virt_to_phys(cinergyt2->streambuf),
+ ret = remap_pfn_range(vma, vma->vm_start,
+ virt_to_phys(cinergyt2->streambuf) >> PAGE_SHIFT,
vma->vm_end - vma->vm_start,
vma->vm_page_prot) ? -EAGAIN : 0;
bailout: