aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/lx6464es/lx6464es.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/lx6464es/lx6464es.c')
-rw-r--r--sound/pci/lx6464es/lx6464es.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/sound/pci/lx6464es/lx6464es.c b/sound/pci/lx6464es/lx6464es.c
index 5579b08bb35b..298bc9b72991 100644
--- a/sound/pci/lx6464es/lx6464es.c
+++ b/sound/pci/lx6464es/lx6464es.c
@@ -578,7 +578,7 @@ static int snd_lx6464es_dev_free(struct snd_device *device)
578} 578}
579 579
580/* reset the dsp during initialization */ 580/* reset the dsp during initialization */
581static int __devinit lx_init_xilinx_reset(struct lx6464es *chip) 581static int lx_init_xilinx_reset(struct lx6464es *chip)
582{ 582{
583 int i; 583 int i;
584 u32 plx_reg = lx_plx_reg_read(chip, ePLX_CHIPSC); 584 u32 plx_reg = lx_plx_reg_read(chip, ePLX_CHIPSC);
@@ -620,7 +620,7 @@ static int __devinit lx_init_xilinx_reset(struct lx6464es *chip)
620 return 0; 620 return 0;
621} 621}
622 622
623static int __devinit lx_init_xilinx_test(struct lx6464es *chip) 623static int lx_init_xilinx_test(struct lx6464es *chip)
624{ 624{
625 u32 reg; 625 u32 reg;
626 626
@@ -650,7 +650,7 @@ static int __devinit lx_init_xilinx_test(struct lx6464es *chip)
650} 650}
651 651
652/* initialize ethersound */ 652/* initialize ethersound */
653static int __devinit lx_init_ethersound_config(struct lx6464es *chip) 653static int lx_init_ethersound_config(struct lx6464es *chip)
654{ 654{
655 int i; 655 int i;
656 u32 orig_conf_es = lx_dsp_reg_read(chip, eReg_CONFES); 656 u32 orig_conf_es = lx_dsp_reg_read(chip, eReg_CONFES);
@@ -690,7 +690,7 @@ static int __devinit lx_init_ethersound_config(struct lx6464es *chip)
690 return 0; 690 return 0;
691} 691}
692 692
693static int __devinit lx_init_get_version_features(struct lx6464es *chip) 693static int lx_init_get_version_features(struct lx6464es *chip)
694{ 694{
695 u32 dsp_version; 695 u32 dsp_version;
696 696
@@ -759,7 +759,7 @@ static int lx_set_granularity(struct lx6464es *chip, u32 gran)
759} 759}
760 760
761/* initialize and test the xilinx dsp chip */ 761/* initialize and test the xilinx dsp chip */
762static int __devinit lx_init_dsp(struct lx6464es *chip) 762static int lx_init_dsp(struct lx6464es *chip)
763{ 763{
764 int err; 764 int err;
765 int i; 765 int i;
@@ -835,7 +835,7 @@ static struct snd_pcm_ops lx_ops_capture = {
835 .pointer = lx_pcm_stream_pointer, 835 .pointer = lx_pcm_stream_pointer,
836}; 836};
837 837
838static int __devinit lx_pcm_create(struct lx6464es *chip) 838static int lx_pcm_create(struct lx6464es *chip)
839{ 839{
840 int err; 840 int err;
841 struct snd_pcm *pcm; 841 struct snd_pcm *pcm;
@@ -907,7 +907,7 @@ static int lx_control_playback_put(struct snd_kcontrol *kcontrol,
907 return changed; 907 return changed;
908} 908}
909 909
910static struct snd_kcontrol_new lx_control_playback_switch __devinitdata = { 910static struct snd_kcontrol_new lx_control_playback_switch = {
911 .iface = SNDRV_CTL_ELEM_IFACE_MIXER, 911 .iface = SNDRV_CTL_ELEM_IFACE_MIXER,
912 .name = "PCM Playback Switch", 912 .name = "PCM Playback Switch",
913 .index = 0, 913 .index = 0,
@@ -954,7 +954,7 @@ static void lx_proc_levels_read(struct snd_info_entry *entry,
954 snd_iprintf(buffer, "\n"); 954 snd_iprintf(buffer, "\n");
955} 955}
956 956
957static int __devinit lx_proc_create(struct snd_card *card, struct lx6464es *chip) 957static int lx_proc_create(struct snd_card *card, struct lx6464es *chip)
958{ 958{
959 struct snd_info_entry *entry; 959 struct snd_info_entry *entry;
960 int err = snd_card_proc_new(card, "levels", &entry); 960 int err = snd_card_proc_new(card, "levels", &entry);
@@ -966,9 +966,9 @@ static int __devinit lx_proc_create(struct snd_card *card, struct lx6464es *chip
966} 966}
967 967
968 968
969static int __devinit snd_lx6464es_create(struct snd_card *card, 969static int snd_lx6464es_create(struct snd_card *card,
970 struct pci_dev *pci, 970 struct pci_dev *pci,
971 struct lx6464es **rchip) 971 struct lx6464es **rchip)
972{ 972{
973 struct lx6464es *chip; 973 struct lx6464es *chip;
974 int err; 974 int err;
@@ -1082,8 +1082,8 @@ alloc_failed:
1082 return err; 1082 return err;
1083} 1083}
1084 1084
1085static int __devinit snd_lx6464es_probe(struct pci_dev *pci, 1085static int snd_lx6464es_probe(struct pci_dev *pci,
1086 const struct pci_device_id *pci_id) 1086 const struct pci_device_id *pci_id)
1087{ 1087{
1088 static int dev; 1088 static int dev;
1089 struct snd_card *card; 1089 struct snd_card *card;
@@ -1136,7 +1136,7 @@ out_free:
1136 1136
1137} 1137}
1138 1138
1139static void __devexit snd_lx6464es_remove(struct pci_dev *pci) 1139static void snd_lx6464es_remove(struct pci_dev *pci)
1140{ 1140{
1141 snd_card_free(pci_get_drvdata(pci)); 1141 snd_card_free(pci_get_drvdata(pci));
1142 pci_set_drvdata(pci, NULL); 1142 pci_set_drvdata(pci, NULL);
@@ -1147,7 +1147,7 @@ static struct pci_driver lx6464es_driver = {
1147 .name = KBUILD_MODNAME, 1147 .name = KBUILD_MODNAME,
1148 .id_table = snd_lx6464es_ids, 1148 .id_table = snd_lx6464es_ids,
1149 .probe = snd_lx6464es_probe, 1149 .probe = snd_lx6464es_probe,
1150 .remove = __devexit_p(snd_lx6464es_remove), 1150 .remove = snd_lx6464es_remove,
1151}; 1151};
1152 1152
1153module_pci_driver(lx6464es_driver); 1153module_pci_driver(lx6464es_driver);