diff options
-rw-r--r-- | linux/drivers/media/common/saa7146_core.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/linux/drivers/media/common/saa7146_core.c b/linux/drivers/media/common/saa7146_core.c index ff007a6e5..3223e3338 100644 --- a/linux/drivers/media/common/saa7146_core.c +++ b/linux/drivers/media/common/saa7146_core.c @@ -142,9 +142,9 @@ int saa7146_pgtable_alloc(struct pci_dev *pci, struct saa7146_pgtable *pt) void saa7146_pgtable_build_single(struct pci_dev *pci, struct saa7146_pgtable *pt, struct scatterlist *list, int sglen ) { - u32 *ptr, fill; - intnr_pages = 0; - int i,j,p; + u32 *ptr, fill; + int nr_pages = 0; + int i,p; BUG_ON( 0 == sglen); @@ -172,8 +172,8 @@ void saa7146_pgtable_build_single(struct pci_dev *pci, struct saa7146_pgtable *p /* ptr = pt->cpu; - for(j=0;j<60;j++) { - printk("ptr1 %d: 0x%08x\n",j,ptr[j]); + for(i=0;i<60;i++) { + printk("ptr1 %d: 0x%08x\n",i,ptr[i]); } */ } |