aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2012-07-01 14:19:33 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-07-30 17:40:29 -0400
commit9a3dafe43125e88a8a365a1fe81fdd8df0eb5eee (patch)
treed1249b3899e4781abd76a9291ab89936556ab516
parente163609ef77f065dbf3936dcb8f5ffcf6d19b35c (diff)
[media] gspca_sn9c2028: Remove empty ctrls array
Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/video/gspca/sn9c2028.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/media/video/gspca/sn9c2028.c b/drivers/media/video/gspca/sn9c2028.c
index 516a17e38f67..03fa3fd940b4 100644
--- a/drivers/media/video/gspca/sn9c2028.c
+++ b/drivers/media/video/gspca/sn9c2028.c
@@ -40,10 +40,6 @@ struct init_command {
40 unsigned char to_read; /* length to read. 0 means no reply requested */ 40 unsigned char to_read; /* length to read. 0 means no reply requested */
41}; 41};
42 42
43/* V4L2 controls supported by the driver */
44static const struct ctrl sd_ctrls[] = {
45};
46
47/* How to change the resolution of any of the VGA cams is unknown */ 43/* How to change the resolution of any of the VGA cams is unknown */
48static const struct v4l2_pix_format vga_mode[] = { 44static const struct v4l2_pix_format vga_mode[] = {
49 {640, 480, V4L2_PIX_FMT_SN9C2028, V4L2_FIELD_NONE, 45 {640, 480, V4L2_PIX_FMT_SN9C2028, V4L2_FIELD_NONE,
@@ -695,8 +691,6 @@ static void sd_pkt_scan(struct gspca_dev *gspca_dev,
695/* sub-driver description */ 691/* sub-driver description */
696static const struct sd_desc sd_desc = { 692static const struct sd_desc sd_desc = {
697 .name = MODULE_NAME, 693 .name = MODULE_NAME,
698 .ctrls = sd_ctrls,
699 .nctrls = ARRAY_SIZE(sd_ctrls),
700 .config = sd_config, 694 .config = sd_config,
701 .init = sd_init, 695 .init = sd_init,
702 .start = sd_start, 696 .start = sd_start,