From 1157c00add57c96b179896fc1b8051a1ad8970a1 Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Sun, 19 Dec 2010 13:11:39 +0100 Subject: [PATCH] Use the name video_camera instead of color_camera. This is in preparation for IR mode support. Signed-off-by: Antonio Ospite --- kinect.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kinect.c b/kinect.c index c91bf33..b5077ca 100644 --- a/kinect.c +++ b/kinect.c @@ -72,7 +72,7 @@ static const struct ctrl sd_ctrls[] = { #define FPS_HIGH 0x0100 -static const struct v4l2_pix_format color_camera_mode[] = { +static const struct v4l2_pix_format video_camera_mode[] = { {640, 480, V4L2_PIX_FMT_SGRBG8, V4L2_FIELD_NONE, .bytesperline = 640, .sizeimage = 640 * 480, @@ -211,8 +211,8 @@ static int sd_config(struct gspca_dev *gspca_dev, cam = &gspca_dev->cam; - cam->cam_mode = color_camera_mode; - cam->nmodes = ARRAY_SIZE(color_camera_mode); + cam->cam_mode = video_camera_mode; + cam->nmodes = ARRAY_SIZE(video_camera_mode); //cam->npkt = 15; //gspca_dev->pkt_size = 960 * 2; -- 2.1.4