summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx88/cx88-cards.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-03-07 05:13:15 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-03-07 05:13:15 -0300
commit0ce053b44999f989285081055b1256eeeaf60de5 (patch)
treee7966db6fe1083ff91432c42048ab1da5d3af3b5 /linux/drivers/media/video/cx88/cx88-cards.c
parentbbaf26d79b4a225feae2152e241b23a655fdae3b (diff)
downloadmediapointer-dvb-s2-0ce053b44999f989285081055b1256eeeaf60de5.tar.gz
mediapointer-dvb-s2-0ce053b44999f989285081055b1256eeeaf60de5.tar.bz2
cx88: Fix memset for tuner-xc3028 control
From: Mauro Carvalho Chehab <mchehab@infradead.org> Fix a cut-and-paste error Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/cx88/cx88-cards.c')
-rw-r--r--linux/drivers/media/video/cx88/cx88-cards.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-cards.c b/linux/drivers/media/video/cx88/cx88-cards.c
index 2fad82a92..ce129b275 100644
--- a/linux/drivers/media/video/cx88/cx88-cards.c
+++ b/linux/drivers/media/video/cx88/cx88-cards.c
@@ -2466,7 +2466,7 @@ static void cx88_card_setup(struct cx88_core *core)
struct v4l2_priv_tun_config xc2028_cfg;
struct xc2028_ctrl ctl;
- memset(&xc2028_cfg, 0, sizeof(ctl));
+ memset(&xc2028_cfg, 0, sizeof(xc2028_cfg));
memset(&ctl, 0, sizeof(ctl));
ctl.fname = XC2028_DEFAULT_FIRMWARE;