summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/saa7134/saa7134-core.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-08-22 22:01:45 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2008-08-22 22:01:45 +0200
commit4bae6a4ce417bb0832eaf13e586c1658ddf07253 (patch)
tree1210e7d6cb4ca876fce93f50eb59e2a6416b5ff2 /linux/drivers/media/video/saa7134/saa7134-core.c
parentc867c0cc1f78aac67dd487180e8c6fb2961b3bdb (diff)
downloadmediapointer-dvb-s2-4bae6a4ce417bb0832eaf13e586c1658ddf07253.tar.gz
mediapointer-dvb-s2-4bae6a4ce417bb0832eaf13e586c1658ddf07253.tar.bz2
v4l2: fix a bunch of compile warnings.
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/saa7134/saa7134-core.c')
-rw-r--r--linux/drivers/media/video/saa7134/saa7134-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/saa7134/saa7134-core.c b/linux/drivers/media/video/saa7134/saa7134-core.c
index 62c9322aa..117f33946 100644
--- a/linux/drivers/media/video/saa7134/saa7134-core.c
+++ b/linux/drivers/media/video/saa7134/saa7134-core.c
@@ -264,7 +264,7 @@ unsigned long saa7134_buffer_base(struct saa7134_buf *buf)
int saa7134_pgtable_alloc(struct pci_dev *pci, struct saa7134_pgtable *pt)
{
__le32 *cpu;
- dma_addr_t dma_addr;
+ dma_addr_t dma_addr = 0;
cpu = pci_alloc_consistent(pci, SAA7134_PGTABLE_SIZE, &dma_addr);
if (NULL == cpu)