V4L/DVB (11547): gspca - m5602-s5k83a: Align the v4l2 ctrl definitions
Signed-off-by: Erik Andr?n <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
5a41c9f6b7
commit
00e0256795
@@ -94,13 +94,13 @@ const static struct ctrl s5k83a_ctrls[] = {
|
|||||||
#define HFLIP_IDX 3
|
#define HFLIP_IDX 3
|
||||||
{
|
{
|
||||||
{
|
{
|
||||||
.id = V4L2_CID_HFLIP,
|
.id = V4L2_CID_HFLIP,
|
||||||
.type = V4L2_CTRL_TYPE_BOOLEAN,
|
.type = V4L2_CTRL_TYPE_BOOLEAN,
|
||||||
.name = "horizontal flip",
|
.name = "horizontal flip",
|
||||||
.minimum = 0,
|
.minimum = 0,
|
||||||
.maximum = 1,
|
.maximum = 1,
|
||||||
.step = 1,
|
.step = 1,
|
||||||
.default_value = 0
|
.default_value = 0
|
||||||
},
|
},
|
||||||
.set = s5k83a_set_hflip,
|
.set = s5k83a_set_hflip,
|
||||||
.get = s5k83a_get_hflip
|
.get = s5k83a_get_hflip
|
||||||
@@ -108,13 +108,13 @@ const static struct ctrl s5k83a_ctrls[] = {
|
|||||||
#define VFLIP_IDX 4
|
#define VFLIP_IDX 4
|
||||||
{
|
{
|
||||||
{
|
{
|
||||||
.id = V4L2_CID_VFLIP,
|
.id = V4L2_CID_VFLIP,
|
||||||
.type = V4L2_CTRL_TYPE_BOOLEAN,
|
.type = V4L2_CTRL_TYPE_BOOLEAN,
|
||||||
.name = "vertical flip",
|
.name = "vertical flip",
|
||||||
.minimum = 0,
|
.minimum = 0,
|
||||||
.maximum = 1,
|
.maximum = 1,
|
||||||
.step = 1,
|
.step = 1,
|
||||||
.default_value = 0
|
.default_value = 0
|
||||||
},
|
},
|
||||||
.set = s5k83a_set_vflip,
|
.set = s5k83a_set_vflip,
|
||||||
.get = s5k83a_get_vflip
|
.get = s5k83a_get_vflip
|
||||||
|
Reference in New Issue
Block a user