summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/b2c2/flexcop-dma.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-08-22 22:01:45 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-10-12 13:36:52 +0200
commit614b147b4f8f38a090f88ac02f67b01225bb5d54 (patch)
tree3ec18d8a84c05f42563fa857ff15da30bf60e0b0 /drivers/media/dvb/b2c2/flexcop-dma.c
parentV4L/DVB (8742): pvrusb2: use proper byteorder interface (diff)
downloadlinux-614b147b4f8f38a090f88ac02f67b01225bb5d54.tar.xz
linux-614b147b4f8f38a090f88ac02f67b01225bb5d54.zip
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/dvb/b2c2/flexcop-dma.c')
-rw-r--r--drivers/media/dvb/b2c2/flexcop-dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/b2c2/flexcop-dma.c b/drivers/media/dvb/b2c2/flexcop-dma.c
index a91ed28f03a4..26f0011a5078 100644
--- a/drivers/media/dvb/b2c2/flexcop-dma.c
+++ b/drivers/media/dvb/b2c2/flexcop-dma.c
@@ -10,7 +10,7 @@
int flexcop_dma_allocate(struct pci_dev *pdev, struct flexcop_dma *dma, u32 size)
{
u8 *tcpu;
- dma_addr_t tdma;
+ dma_addr_t tdma = 0;
if (size % 2) {
err("dma buffersize has to be even.");