aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/em28xx/em28xx-video.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-07-12 09:23:23 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-07-24 13:03:22 -0400
commitc43221df762c33e832e8855cae77989b6bf69fa6 (patch)
tree4d5f278f1a3f04321e813a00500a8436dcd57e94 /drivers/media/video/em28xx/em28xx-video.c
parent641f75caa874fffd679b64f850adee37103b0c0f (diff)
V4L/DVB (12233): em28xx: rename is_27xx to is_webcam
Just renames the flag, to use a clearer name. Later patches will use this flag to properly set some drivers behaviors for webcams. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/em28xx/em28xx-video.c')
-rw-r--r--drivers/media/video/em28xx/em28xx-video.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/em28xx/em28xx-video.c b/drivers/media/video/em28xx/em28xx-video.c
index 14316c91217..89ab2e3b9a2 100644
--- a/drivers/media/video/em28xx/em28xx-video.c
+++ b/drivers/media/video/em28xx/em28xx-video.c
@@ -726,7 +726,7 @@ static int vidioc_try_fmt_vid_cap(struct file *file, void *priv,
726 return -EINVAL; 726 return -EINVAL;
727 } 727 }
728 728
729 if (dev->board.is_27xx) { 729 if (dev->board.is_webcam) {
730 /* FIXME: This is the only supported fmt */ 730 /* FIXME: This is the only supported fmt */
731 width = 640; 731 width = 640;
732 height = 480; 732 height = 480;
@@ -768,7 +768,7 @@ static int em28xx_set_video_format(struct em28xx *dev, unsigned int fourcc,
768 struct em28xx_fmt *fmt; 768 struct em28xx_fmt *fmt;
769 769
770 /* FIXME: This is the only supported fmt */ 770 /* FIXME: This is the only supported fmt */
771 if (dev->board.is_27xx) { 771 if (dev->board.is_webcam) {
772 width = 640; 772 width = 640;
773 height = 480; 773 height = 480;
774 } 774 }