diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-31 21:47:44 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-31 21:47:44 -0400 |
commit | 8762541f067d371320731510669e27f5cc40af38 (patch) | |
tree | fa2890094858614a947ba70612854acde9888940 /drivers/media/video/gspca/kinect.c | |
parent | 6dbb35b0a74b44b2a48a5373d48074c5aa69fdf5 (diff) | |
parent | adfe1560de1c696324554fba70c92f2d7c947ff7 (diff) |
Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media
Pull second set of media updates from Mauro Carvalho Chehab:
- radio API: add support to work with radio frequency bands
- new AM/FM radio drivers: radio-shark, radio-shark2
- new Remote Controller USB driver: iguanair
- conversion of several drivers to the v4l2 core control framework
- new board additions at existing drivers
- the remaining (and vast majority of the patches) are due to
drivers/DocBook fixes/cleanups.
* 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (154 commits)
[media] radio-tea5777: use library for 64bits div
[media] tlg2300: Declare MODULE_FIRMWARE usage
[media] lgs8gxx: Declare MODULE_FIRMWARE usage
[media] xc5000: Add MODULE_FIRMWARE statements
[media] s2255drv: Add MODULE_FIRMWARE statement
[media] dib8000: move dereference after check for NULL
[media] Documentation: Update cardlists
[media] bttv: add support for Aposonic W-DVR
[media] cx25821: Remove bad strcpy to read-only char*
[media] pms.c: remove duplicated include
[media] smiapp-core.c: remove duplicated include
[media] via-camera: pass correct format settings to sensor
[media] rtl2832.c: minor cleanup
[media] Add support for the IguanaWorks USB IR Transceiver
[media] Minor cleanups for MCE USB
[media] drivers/media/dvb/siano/smscoreapi.c: use list_for_each_entry
[media] Use a named union in struct v4l2_ioctl_info
[media] mceusb: Add Twisted Melon USB IDs
[media] staging/media/solo6x10: use module_pci_driver macro
[media] staging/media/dt3155v4l: use module_pci_driver macro
...
Conflicts:
Documentation/feature-removal-schedule.txt
Diffstat (limited to 'drivers/media/video/gspca/kinect.c')
-rw-r--r-- | drivers/media/video/gspca/kinect.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/drivers/media/video/gspca/kinect.c b/drivers/media/video/gspca/kinect.c index e8e8f2fe9166..40ad6687ee5d 100644 --- a/drivers/media/video/gspca/kinect.c +++ b/drivers/media/video/gspca/kinect.c | |||
@@ -63,12 +63,6 @@ struct sd { | |||
63 | uint8_t ibuf[0x200]; /* input buffer for control commands */ | 63 | uint8_t ibuf[0x200]; /* input buffer for control commands */ |
64 | }; | 64 | }; |
65 | 65 | ||
66 | /* V4L2 controls supported by the driver */ | ||
67 | /* controls prototypes here */ | ||
68 | |||
69 | static const struct ctrl sd_ctrls[] = { | ||
70 | }; | ||
71 | |||
72 | #define MODE_640x480 0x0001 | 66 | #define MODE_640x480 0x0001 |
73 | #define MODE_640x488 0x0002 | 67 | #define MODE_640x488 0x0002 |
74 | #define MODE_1280x1024 0x0004 | 68 | #define MODE_1280x1024 0x0004 |
@@ -373,15 +367,12 @@ static void sd_pkt_scan(struct gspca_dev *gspca_dev, u8 *__data, int len) | |||
373 | /* sub-driver description */ | 367 | /* sub-driver description */ |
374 | static const struct sd_desc sd_desc = { | 368 | static const struct sd_desc sd_desc = { |
375 | .name = MODULE_NAME, | 369 | .name = MODULE_NAME, |
376 | .ctrls = sd_ctrls, | ||
377 | .nctrls = ARRAY_SIZE(sd_ctrls), | ||
378 | .config = sd_config, | 370 | .config = sd_config, |
379 | .init = sd_init, | 371 | .init = sd_init, |
380 | .start = sd_start, | 372 | .start = sd_start, |
381 | .stopN = sd_stopN, | 373 | .stopN = sd_stopN, |
382 | .pkt_scan = sd_pkt_scan, | 374 | .pkt_scan = sd_pkt_scan, |
383 | /* | 375 | /* |
384 | .querymenu = sd_querymenu, | ||
385 | .get_streamparm = sd_get_streamparm, | 376 | .get_streamparm = sd_get_streamparm, |
386 | .set_streamparm = sd_set_streamparm, | 377 | .set_streamparm = sd_set_streamparm, |
387 | */ | 378 | */ |
@@ -410,6 +401,7 @@ static struct usb_driver sd_driver = { | |||
410 | #ifdef CONFIG_PM | 401 | #ifdef CONFIG_PM |
411 | .suspend = gspca_suspend, | 402 | .suspend = gspca_suspend, |
412 | .resume = gspca_resume, | 403 | .resume = gspca_resume, |
404 | .reset_resume = gspca_resume, | ||
413 | #endif | 405 | #endif |
414 | }; | 406 | }; |
415 | 407 | ||