diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-01-24 15:49:18 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-01-24 15:49:18 -0500 |
commit | a32f7d1ad3744914273c6907204c2ab3b5d496a0 (patch) | |
tree | 1c5ae321ee85665707177547c07810ff7e09e1ab /drivers/media/pci/cx88 | |
parent | 6b9e50c463efc5c361496ae6a895cc966ff8025b (diff) | |
parent | 68d6f84ba0c47e658beff3a4bf0c43acee4b4690 (diff) |
Merge branch 'v4l_for_linus' into staging/for_v3.9
* v4l_for_linus: (464 commits)
[media] uvcvideo: Set error_idx properly for S_EXT_CTRLS failures
[media] uvcvideo: Cleanup leftovers of partial revert
[media] uvcvideo: Return -EACCES when trying to set a read-only control
Linux 3.8-rc3
mm: reinstante dropped pmd_trans_splitting() check
cred: Remove tgcred pointer from struct cred
drm/ttm: fix fence locking in ttm_buffer_object_transfer
ARM: clps711x: Fix bad merge of clockevents setup
ARM: highbank: save and restore L2 cache and GIC on suspend
ARM: highbank: add a power request clear
ARM: highbank: fix secondary boot and hotplug
ARM: highbank: fix typos with hignbank in power request functions
ARM: dts: fix highbank cpu mpidr values
ARM: dts: add device_type prop to cpu nodes on Calxeda platforms
drm/prime: drop reference on imported dma-buf come from gem
xen/netfront: improve truesize tracking
ARM: mx5: Fix MX53 flexcan2 clock
ARM: OMAP2+: am33xx-hwmod: Fix wrongly terminated am33xx_usbss_mpu_irqs array
sctp: fix Kconfig bug in default cookie hmac selection
EDAC: Cleanup device deregistering path
...
Conflicts:
drivers/media/pci/dm1105/dm1105.c
drivers/media/platform/soc_camera/mx2_camera.c
Diffstat (limited to 'drivers/media/pci/cx88')
-rw-r--r-- | drivers/media/pci/cx88/cx88-alsa.c | 19 | ||||
-rw-r--r-- | drivers/media/pci/cx88/cx88-mpeg.c | 8 | ||||
-rw-r--r-- | drivers/media/pci/cx88/cx88-video.c | 8 |
3 files changed, 17 insertions, 18 deletions
diff --git a/drivers/media/pci/cx88/cx88-alsa.c b/drivers/media/pci/cx88/cx88-alsa.c index d2de1a913e19..27d62623274b 100644 --- a/drivers/media/pci/cx88/cx88-alsa.c +++ b/drivers/media/pci/cx88/cx88-alsa.c | |||
@@ -540,7 +540,7 @@ static struct snd_pcm_ops snd_cx88_pcm_ops = { | |||
540 | /* | 540 | /* |
541 | * create a PCM device | 541 | * create a PCM device |
542 | */ | 542 | */ |
543 | static int __devinit snd_cx88_pcm(snd_cx88_card_t *chip, int device, const char *name) | 543 | static int snd_cx88_pcm(snd_cx88_card_t *chip, int device, const char *name) |
544 | { | 544 | { |
545 | int err; | 545 | int err; |
546 | struct snd_pcm *pcm; | 546 | struct snd_pcm *pcm; |
@@ -753,7 +753,7 @@ static struct snd_kcontrol_new snd_cx88_alc_switch = { | |||
753 | * Only boards with eeprom and byte 1 at eeprom=1 have it | 753 | * Only boards with eeprom and byte 1 at eeprom=1 have it |
754 | */ | 754 | */ |
755 | 755 | ||
756 | static const struct pci_device_id cx88_audio_pci_tbl[] __devinitdata = { | 756 | static const struct pci_device_id cx88_audio_pci_tbl[] = { |
757 | {0x14f1,0x8801,PCI_ANY_ID,PCI_ANY_ID,0,0,0}, | 757 | {0x14f1,0x8801,PCI_ANY_ID,PCI_ANY_ID,0,0,0}, |
758 | {0x14f1,0x8811,PCI_ANY_ID,PCI_ANY_ID,0,0,0}, | 758 | {0x14f1,0x8811,PCI_ANY_ID,PCI_ANY_ID,0,0,0}, |
759 | {0, } | 759 | {0, } |
@@ -792,10 +792,9 @@ static void snd_cx88_dev_free(struct snd_card * card) | |||
792 | */ | 792 | */ |
793 | 793 | ||
794 | static int devno; | 794 | static int devno; |
795 | static int __devinit snd_cx88_create(struct snd_card *card, | 795 | static int snd_cx88_create(struct snd_card *card, struct pci_dev *pci, |
796 | struct pci_dev *pci, | 796 | snd_cx88_card_t **rchip, |
797 | snd_cx88_card_t **rchip, | 797 | struct cx88_core **core_ptr) |
798 | struct cx88_core **core_ptr) | ||
799 | { | 798 | { |
800 | snd_cx88_card_t *chip; | 799 | snd_cx88_card_t *chip; |
801 | struct cx88_core *core; | 800 | struct cx88_core *core; |
@@ -862,8 +861,8 @@ static int __devinit snd_cx88_create(struct snd_card *card, | |||
862 | return 0; | 861 | return 0; |
863 | } | 862 | } |
864 | 863 | ||
865 | static int __devinit cx88_audio_initdev(struct pci_dev *pci, | 864 | static int cx88_audio_initdev(struct pci_dev *pci, |
866 | const struct pci_device_id *pci_id) | 865 | const struct pci_device_id *pci_id) |
867 | { | 866 | { |
868 | struct snd_card *card; | 867 | struct snd_card *card; |
869 | snd_cx88_card_t *chip; | 868 | snd_cx88_card_t *chip; |
@@ -931,7 +930,7 @@ error: | |||
931 | /* | 930 | /* |
932 | * ALSA destructor | 931 | * ALSA destructor |
933 | */ | 932 | */ |
934 | static void __devexit cx88_audio_finidev(struct pci_dev *pci) | 933 | static void cx88_audio_finidev(struct pci_dev *pci) |
935 | { | 934 | { |
936 | struct cx88_audio_dev *card = pci_get_drvdata(pci); | 935 | struct cx88_audio_dev *card = pci_get_drvdata(pci); |
937 | 936 | ||
@@ -950,7 +949,7 @@ static struct pci_driver cx88_audio_pci_driver = { | |||
950 | .name = "cx88_audio", | 949 | .name = "cx88_audio", |
951 | .id_table = cx88_audio_pci_tbl, | 950 | .id_table = cx88_audio_pci_tbl, |
952 | .probe = cx88_audio_initdev, | 951 | .probe = cx88_audio_initdev, |
953 | .remove = __devexit_p(cx88_audio_finidev), | 952 | .remove = cx88_audio_finidev, |
954 | }; | 953 | }; |
955 | 954 | ||
956 | /**************************************************************************** | 955 | /**************************************************************************** |
diff --git a/drivers/media/pci/cx88/cx88-mpeg.c b/drivers/media/pci/cx88/cx88-mpeg.c index d46b008a46b8..c9d3182f79d5 100644 --- a/drivers/media/pci/cx88/cx88-mpeg.c +++ b/drivers/media/pci/cx88/cx88-mpeg.c | |||
@@ -791,8 +791,8 @@ int cx8802_unregister_driver(struct cx8802_driver *drv) | |||
791 | } | 791 | } |
792 | 792 | ||
793 | /* ----------------------------------------------------------- */ | 793 | /* ----------------------------------------------------------- */ |
794 | static int __devinit cx8802_probe(struct pci_dev *pci_dev, | 794 | static int cx8802_probe(struct pci_dev *pci_dev, |
795 | const struct pci_device_id *pci_id) | 795 | const struct pci_device_id *pci_id) |
796 | { | 796 | { |
797 | struct cx8802_dev *dev; | 797 | struct cx8802_dev *dev; |
798 | struct cx88_core *core; | 798 | struct cx88_core *core; |
@@ -840,7 +840,7 @@ static int __devinit cx8802_probe(struct pci_dev *pci_dev, | |||
840 | return err; | 840 | return err; |
841 | } | 841 | } |
842 | 842 | ||
843 | static void __devexit cx8802_remove(struct pci_dev *pci_dev) | 843 | static void cx8802_remove(struct pci_dev *pci_dev) |
844 | { | 844 | { |
845 | struct cx8802_dev *dev; | 845 | struct cx8802_dev *dev; |
846 | 846 | ||
@@ -898,7 +898,7 @@ static struct pci_driver cx8802_pci_driver = { | |||
898 | .name = "cx88-mpeg driver manager", | 898 | .name = "cx88-mpeg driver manager", |
899 | .id_table = cx8802_pci_tbl, | 899 | .id_table = cx8802_pci_tbl, |
900 | .probe = cx8802_probe, | 900 | .probe = cx8802_probe, |
901 | .remove = __devexit_p(cx8802_remove), | 901 | .remove = cx8802_remove, |
902 | }; | 902 | }; |
903 | 903 | ||
904 | static int __init cx8802_init(void) | 904 | static int __init cx8802_init(void) |
diff --git a/drivers/media/pci/cx88/cx88-video.c b/drivers/media/pci/cx88/cx88-video.c index 05171457bf28..bc78354262ac 100644 --- a/drivers/media/pci/cx88/cx88-video.c +++ b/drivers/media/pci/cx88/cx88-video.c | |||
@@ -1696,8 +1696,8 @@ static void cx8800_unregister_video(struct cx8800_dev *dev) | |||
1696 | } | 1696 | } |
1697 | } | 1697 | } |
1698 | 1698 | ||
1699 | static int __devinit cx8800_initdev(struct pci_dev *pci_dev, | 1699 | static int cx8800_initdev(struct pci_dev *pci_dev, |
1700 | const struct pci_device_id *pci_id) | 1700 | const struct pci_device_id *pci_id) |
1701 | { | 1701 | { |
1702 | struct cx8800_dev *dev; | 1702 | struct cx8800_dev *dev; |
1703 | struct cx88_core *core; | 1703 | struct cx88_core *core; |
@@ -1923,7 +1923,7 @@ fail_free: | |||
1923 | return err; | 1923 | return err; |
1924 | } | 1924 | } |
1925 | 1925 | ||
1926 | static void __devexit cx8800_finidev(struct pci_dev *pci_dev) | 1926 | static void cx8800_finidev(struct pci_dev *pci_dev) |
1927 | { | 1927 | { |
1928 | struct cx8800_dev *dev = pci_get_drvdata(pci_dev); | 1928 | struct cx8800_dev *dev = pci_get_drvdata(pci_dev); |
1929 | struct cx88_core *core = dev->core; | 1929 | struct cx88_core *core = dev->core; |
@@ -2052,7 +2052,7 @@ static struct pci_driver cx8800_pci_driver = { | |||
2052 | .name = "cx8800", | 2052 | .name = "cx8800", |
2053 | .id_table = cx8800_pci_tbl, | 2053 | .id_table = cx8800_pci_tbl, |
2054 | .probe = cx8800_initdev, | 2054 | .probe = cx8800_initdev, |
2055 | .remove = __devexit_p(cx8800_finidev), | 2055 | .remove = cx8800_finidev, |
2056 | #ifdef CONFIG_PM | 2056 | #ifdef CONFIG_PM |
2057 | .suspend = cx8800_suspend, | 2057 | .suspend = cx8800_suspend, |
2058 | .resume = cx8800_resume, | 2058 | .resume = cx8800_resume, |