summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/bt8xx/bttv-driver.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-02-23 07:29:16 +0000
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-02-23 07:29:16 +0000
commit4e45e0172add32a7af042e418add1d2f1e4ae5a4 (patch)
treec4bf7622d3adfe021ca1744c3a1797d324e7c307 /linux/drivers/media/video/bt8xx/bttv-driver.c
parent9640ff21c81761b4f6e6c997fda71717a20bb885 (diff)
downloadmediapointer-dvb-s2-4e45e0172add32a7af042e418add1d2f1e4ae5a4.tar.gz
mediapointer-dvb-s2-4e45e0172add32a7af042e418add1d2f1e4ae5a4.tar.bz2
bttv: struct member initialized twice
From: Harvey Harrison <harvey.harrison@gmail.com> fixes sparse warning: drivers/media/video/bt8xx/bttv-driver.c:3391:3: warning: Initializer entry defined twice drivers/media/video/bt8xx/bttv-driver.c:3392:3: also defined here Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/bt8xx/bttv-driver.c')
-rw-r--r--linux/drivers/media/video/bt8xx/bttv-driver.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/linux/drivers/media/video/bt8xx/bttv-driver.c b/linux/drivers/media/video/bt8xx/bttv-driver.c
index 0a9e01627..4384d03ce 100644
--- a/linux/drivers/media/video/bt8xx/bttv-driver.c
+++ b/linux/drivers/media/video/bt8xx/bttv-driver.c
@@ -3432,7 +3432,6 @@ static struct video_device bttv_video_template =
.vidiocgmbuf = vidiocgmbuf,
#endif
.vidioc_g_crop = bttv_g_crop,
- .vidioc_g_crop = bttv_g_crop,
.vidioc_s_crop = bttv_s_crop,
.vidioc_g_fbuf = bttv_g_fbuf,
.vidioc_s_fbuf = bttv_s_fbuf,