diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-08-22 16:01:45 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-10-12 07:36:52 -0400 |
commit | 614b147b4f8f38a090f88ac02f67b01225bb5d54 (patch) | |
tree | 3ec18d8a84c05f42563fa857ff15da30bf60e0b0 /drivers/media/common | |
parent | 513edce60f184d90ef4a6d33917264d49c2b07fd (diff) |
V4L/DVB (8745): v4l2: fix a bunch of compile warnings.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/common')
-rw-r--r-- | drivers/media/common/saa7146_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/common/saa7146_core.c b/drivers/media/common/saa7146_core.c index d01965e96927..d599d360da3f 100644 --- a/drivers/media/common/saa7146_core.c +++ b/drivers/media/common/saa7146_core.c | |||
@@ -234,7 +234,7 @@ void saa7146_pgtable_free(struct pci_dev *pci, struct saa7146_pgtable *pt) | |||
234 | int saa7146_pgtable_alloc(struct pci_dev *pci, struct saa7146_pgtable *pt) | 234 | int saa7146_pgtable_alloc(struct pci_dev *pci, struct saa7146_pgtable *pt) |
235 | { | 235 | { |
236 | __le32 *cpu; | 236 | __le32 *cpu; |
237 | dma_addr_t dma_addr; | 237 | dma_addr_t dma_addr = 0; |
238 | 238 | ||
239 | cpu = pci_alloc_consistent(pci, PAGE_SIZE, &dma_addr); | 239 | cpu = pci_alloc_consistent(pci, PAGE_SIZE, &dma_addr); |
240 | if (NULL == cpu) { | 240 | if (NULL == cpu) { |