summaryrefslogtreecommitdiff
path: root/drivers/media/video/gspca
diff options
context:
space:
mode:
authorAntonio Ospite <ospite@studenti.unina.it>2012-05-17 01:42:44 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-07-31 01:19:51 +0400
commit463023b06206863b3d7ecdd1faf20fa4c24af3c8 (patch)
treead8fafe71277a04c4426efae531bf9d6fd494974 /drivers/media/video/gspca
parent8b3a19b1b3ab95fbc40acb653ca7559f32318301 (diff)
downloadlinux-463023b06206863b3d7ecdd1faf20fa4c24af3c8.tar.xz
[media] gspca_kinect: remove traces of the gspca control mechanism
This driver has no controls, so there is no need to convert it to the control framework. Signed-off-by: Antonio Ospite <ospite@studenti.unina.it> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca')
-rw-r--r--drivers/media/video/gspca/kinect.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/media/video/gspca/kinect.c b/drivers/media/video/gspca/kinect.c
index e8e8f2fe9166..f71ec0cfe15e 100644
--- a/drivers/media/video/gspca/kinect.c
+++ b/drivers/media/video/gspca/kinect.c
@@ -63,12 +63,6 @@ struct sd {
uint8_t ibuf[0x200]; /* input buffer for control commands */
};
-/* V4L2 controls supported by the driver */
-/* controls prototypes here */
-
-static const struct ctrl sd_ctrls[] = {
-};
-
#define MODE_640x480 0x0001
#define MODE_640x488 0x0002
#define MODE_1280x1024 0x0004
@@ -373,15 +367,12 @@ static void sd_pkt_scan(struct gspca_dev *gspca_dev, u8 *__data, int len)
/* sub-driver description */
static const struct sd_desc sd_desc = {
.name = MODULE_NAME,
- .ctrls = sd_ctrls,
- .nctrls = ARRAY_SIZE(sd_ctrls),
.config = sd_config,
.init = sd_init,
.start = sd_start,
.stopN = sd_stopN,
.pkt_scan = sd_pkt_scan,
/*
- .querymenu = sd_querymenu,
.get_streamparm = sd_get_streamparm,
.set_streamparm = sd_set_streamparm,
*/