summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/btcx-risc.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-08-22 17:01:45 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-10-12 09:36:52 -0200
commit614b147b4f8f38a090f88ac02f67b01225bb5d54 (patch)
tree3ec18d8a84c05f42563fa857ff15da30bf60e0b0 /drivers/media/video/btcx-risc.c
parent513edce60f184d90ef4a6d33917264d49c2b07fd (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/video/btcx-risc.c')
-rw-r--r--drivers/media/video/btcx-risc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/btcx-risc.c b/drivers/media/video/btcx-risc.c
index 3324ab38f58..ac1b2687a20 100644
--- a/drivers/media/video/btcx-risc.c
+++ b/drivers/media/video/btcx-risc.c
@@ -64,7 +64,7 @@ int btcx_riscmem_alloc(struct pci_dev *pci,
unsigned int size)
{
__le32 *cpu;
- dma_addr_t dma;
+ dma_addr_t dma = 0;
if (NULL != risc->cpu && risc->size < size)
btcx_riscmem_free(pci,risc);