Coherent naming of the pac207 v4l2 ctrls
PATCH 1/1 Coherent naming of the pac207 v4l2 ctrls
Hi Jean-Francois,
The following minor patch renames two pac207 ctrls in order to create a coherent naming of the v4l2 ctrls.
Best regards,
Erik
# HG changeset patch
# User [email protected]
# Date 1244398262 -7200
# Node ID 33938b355bc65d57f03ddea53bc42c8186dfe2c2 # Parent c4bd8403b04210035fb823317974831d911fa086 gspca - pac207: Unify v4l2 ctrl names
From: Erik Andrén <[email protected]>
Let all pac207 ctrls have a coherent naming
Priority: normal
Signed-off-by Erik Andrén <[email protected]>
diff -r c4bd8403b042 -r 33938b355bc6 linux/drivers/media/video/gspca/pac207.c
--- a/linux/drivers/media/video/gspca/pac207.c Sun Jun 07 16:58:04 2009 +0200
+++ b/linux/drivers/media/video/gspca/pac207.c Sun Jun 07 20:11:02 2009 +0200
@@ -106,7 +106,7 @@
{
.id = V4L2_CID_EXPOSURE,
.type = V4L2_CTRL_TYPE_INTEGER,
- .name = "exposure",
+ .name = "Exposure",
.minimum = PAC207_EXPOSURE_MIN,
.maximum = PAC207_EXPOSURE_MAX,
.step = 1,
@@ -137,7 +137,7 @@
{
.id = V4L2_CID_GAIN,
.type = V4L2_CTRL_TYPE_INTEGER,
- .name = "gain",
+ .name = "Gain",
.minimum = PAC207_GAIN_MIN,
.maximum = PAC207_GAIN_MAX,
.step = 1,