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/staging | |
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/staging')
-rw-r--r-- | drivers/staging/media/dt3155v4l/dt3155v4l.c | 15 | ||||
-rw-r--r-- | drivers/staging/media/easycap/easycap_main.c | 1 | ||||
-rw-r--r-- | drivers/staging/media/lirc/lirc_bt829.c | 2 | ||||
-rw-r--r-- | drivers/staging/media/solo6x10/core.c | 13 |
4 files changed, 4 insertions, 27 deletions
diff --git a/drivers/staging/media/dt3155v4l/dt3155v4l.c b/drivers/staging/media/dt3155v4l/dt3155v4l.c index c365cdf714ea..ebe5a27c06f5 100644 --- a/drivers/staging/media/dt3155v4l/dt3155v4l.c +++ b/drivers/staging/media/dt3155v4l/dt3155v4l.c | |||
@@ -971,20 +971,7 @@ static struct pci_driver pci_driver = { | |||
971 | .remove = __devexit_p(dt3155_remove), | 971 | .remove = __devexit_p(dt3155_remove), |
972 | }; | 972 | }; |
973 | 973 | ||
974 | static int __init | 974 | module_pci_driver(pci_driver); |
975 | dt3155_init_module(void) | ||
976 | { | ||
977 | return pci_register_driver(&pci_driver); | ||
978 | } | ||
979 | |||
980 | static void __exit | ||
981 | dt3155_exit_module(void) | ||
982 | { | ||
983 | pci_unregister_driver(&pci_driver); | ||
984 | } | ||
985 | |||
986 | module_init(dt3155_init_module); | ||
987 | module_exit(dt3155_exit_module); | ||
988 | 975 | ||
989 | MODULE_DESCRIPTION("video4linux pci-driver for dt3155 frame grabber"); | 976 | MODULE_DESCRIPTION("video4linux pci-driver for dt3155 frame grabber"); |
990 | MODULE_AUTHOR("Marin Mitov <mitov@issp.bas.bg>"); | 977 | MODULE_AUTHOR("Marin Mitov <mitov@issp.bas.bg>"); |
diff --git a/drivers/staging/media/easycap/easycap_main.c b/drivers/staging/media/easycap/easycap_main.c index a1c45e4dcdce..8269c77dbf7d 100644 --- a/drivers/staging/media/easycap/easycap_main.c +++ b/drivers/staging/media/easycap/easycap_main.c | |||
@@ -3083,6 +3083,7 @@ static int create_video_urbs(struct easycap *peasycap) | |||
3083 | peasycap->allocation_video_urb += 1; | 3083 | peasycap->allocation_video_urb += 1; |
3084 | pdata_urb = kzalloc(sizeof(struct data_urb), GFP_KERNEL); | 3084 | pdata_urb = kzalloc(sizeof(struct data_urb), GFP_KERNEL); |
3085 | if (!pdata_urb) { | 3085 | if (!pdata_urb) { |
3086 | usb_free_urb(purb); | ||
3086 | SAM("ERROR: Could not allocate struct data_urb.\n"); | 3087 | SAM("ERROR: Could not allocate struct data_urb.\n"); |
3087 | return -ENOMEM; | 3088 | return -ENOMEM; |
3088 | } | 3089 | } |
diff --git a/drivers/staging/media/lirc/lirc_bt829.c b/drivers/staging/media/lirc/lirc_bt829.c index 4d20e9f74118..951007a3fc96 100644 --- a/drivers/staging/media/lirc/lirc_bt829.c +++ b/drivers/staging/media/lirc/lirc_bt829.c | |||
@@ -171,7 +171,7 @@ static void cycle_delay(int cycle) | |||
171 | } | 171 | } |
172 | 172 | ||
173 | 173 | ||
174 | static int poll_main() | 174 | static int poll_main(void) |
175 | { | 175 | { |
176 | unsigned char status_high, status_low; | 176 | unsigned char status_high, status_low; |
177 | 177 | ||
diff --git a/drivers/staging/media/solo6x10/core.c b/drivers/staging/media/solo6x10/core.c index d2fd842e37cf..3ee9b125797f 100644 --- a/drivers/staging/media/solo6x10/core.c +++ b/drivers/staging/media/solo6x10/core.c | |||
@@ -318,15 +318,4 @@ static struct pci_driver solo_pci_driver = { | |||
318 | .remove = solo_pci_remove, | 318 | .remove = solo_pci_remove, |
319 | }; | 319 | }; |
320 | 320 | ||
321 | static int __init solo_module_init(void) | 321 | module_pci_driver(solo_pci_driver); |
322 | { | ||
323 | return pci_register_driver(&solo_pci_driver); | ||
324 | } | ||
325 | |||
326 | static void __exit solo_module_exit(void) | ||
327 | { | ||
328 | pci_unregister_driver(&solo_pci_driver); | ||
329 | } | ||
330 | |||
331 | module_init(solo_module_init); | ||
332 | module_exit(solo_module_exit); | ||