diff options
Diffstat (limited to 'sound/pci/intel8x0m.c')
-rw-r--r-- | sound/pci/intel8x0m.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/sound/pci/intel8x0m.c b/sound/pci/intel8x0m.c index 4d551736531e..fea09e8ea608 100644 --- a/sound/pci/intel8x0m.c +++ b/sound/pci/intel8x0m.c | |||
@@ -710,8 +710,8 @@ struct ich_pcm_table { | |||
710 | int ac97_idx; | 710 | int ac97_idx; |
711 | }; | 711 | }; |
712 | 712 | ||
713 | static int __devinit snd_intel8x0m_pcm1(struct intel8x0m *chip, int device, | 713 | static int snd_intel8x0m_pcm1(struct intel8x0m *chip, int device, |
714 | struct ich_pcm_table *rec) | 714 | struct ich_pcm_table *rec) |
715 | { | 715 | { |
716 | struct snd_pcm *pcm; | 716 | struct snd_pcm *pcm; |
717 | int err; | 717 | int err; |
@@ -749,7 +749,7 @@ static int __devinit snd_intel8x0m_pcm1(struct intel8x0m *chip, int device, | |||
749 | return 0; | 749 | return 0; |
750 | } | 750 | } |
751 | 751 | ||
752 | static struct ich_pcm_table intel_pcms[] __devinitdata = { | 752 | static struct ich_pcm_table intel_pcms[] = { |
753 | { | 753 | { |
754 | .suffix = "Modem", | 754 | .suffix = "Modem", |
755 | .playback_ops = &snd_intel8x0m_playback_ops, | 755 | .playback_ops = &snd_intel8x0m_playback_ops, |
@@ -759,7 +759,7 @@ static struct ich_pcm_table intel_pcms[] __devinitdata = { | |||
759 | }, | 759 | }, |
760 | }; | 760 | }; |
761 | 761 | ||
762 | static int __devinit snd_intel8x0m_pcm(struct intel8x0m *chip) | 762 | static int snd_intel8x0m_pcm(struct intel8x0m *chip) |
763 | { | 763 | { |
764 | int i, tblsize, device, err; | 764 | int i, tblsize, device, err; |
765 | struct ich_pcm_table *tbl, *rec; | 765 | struct ich_pcm_table *tbl, *rec; |
@@ -819,7 +819,7 @@ static void snd_intel8x0m_mixer_free_ac97(struct snd_ac97 *ac97) | |||
819 | } | 819 | } |
820 | 820 | ||
821 | 821 | ||
822 | static int __devinit snd_intel8x0m_mixer(struct intel8x0m *chip, int ac97_clock) | 822 | static int snd_intel8x0m_mixer(struct intel8x0m *chip, int ac97_clock) |
823 | { | 823 | { |
824 | struct snd_ac97_bus *pbus; | 824 | struct snd_ac97_bus *pbus; |
825 | struct snd_ac97_template ac97; | 825 | struct snd_ac97_template ac97; |
@@ -1090,7 +1090,7 @@ static void snd_intel8x0m_proc_read(struct snd_info_entry * entry, | |||
1090 | (tmp & (ICH_PCR | ICH_SCR | ICH_TCR)) == 0 ? " none" : ""); | 1090 | (tmp & (ICH_PCR | ICH_SCR | ICH_TCR)) == 0 ? " none" : ""); |
1091 | } | 1091 | } |
1092 | 1092 | ||
1093 | static void __devinit snd_intel8x0m_proc_init(struct intel8x0m * chip) | 1093 | static void snd_intel8x0m_proc_init(struct intel8x0m *chip) |
1094 | { | 1094 | { |
1095 | struct snd_info_entry *entry; | 1095 | struct snd_info_entry *entry; |
1096 | 1096 | ||
@@ -1113,10 +1113,10 @@ struct ich_reg_info { | |||
1113 | unsigned int offset; | 1113 | unsigned int offset; |
1114 | }; | 1114 | }; |
1115 | 1115 | ||
1116 | static int __devinit snd_intel8x0m_create(struct snd_card *card, | 1116 | static int snd_intel8x0m_create(struct snd_card *card, |
1117 | struct pci_dev *pci, | 1117 | struct pci_dev *pci, |
1118 | unsigned long device_type, | 1118 | unsigned long device_type, |
1119 | struct intel8x0m **r_intel8x0m) | 1119 | struct intel8x0m **r_intel8x0m) |
1120 | { | 1120 | { |
1121 | struct intel8x0m *chip; | 1121 | struct intel8x0m *chip; |
1122 | int err; | 1122 | int err; |
@@ -1252,7 +1252,7 @@ static int __devinit snd_intel8x0m_create(struct snd_card *card, | |||
1252 | static struct shortname_table { | 1252 | static struct shortname_table { |
1253 | unsigned int id; | 1253 | unsigned int id; |
1254 | const char *s; | 1254 | const char *s; |
1255 | } shortnames[] __devinitdata = { | 1255 | } shortnames[] = { |
1256 | { PCI_DEVICE_ID_INTEL_82801AA_6, "Intel 82801AA-ICH" }, | 1256 | { PCI_DEVICE_ID_INTEL_82801AA_6, "Intel 82801AA-ICH" }, |
1257 | { PCI_DEVICE_ID_INTEL_82801AB_6, "Intel 82901AB-ICH0" }, | 1257 | { PCI_DEVICE_ID_INTEL_82801AB_6, "Intel 82901AB-ICH0" }, |
1258 | { PCI_DEVICE_ID_INTEL_82801BA_6, "Intel 82801BA-ICH2" }, | 1258 | { PCI_DEVICE_ID_INTEL_82801BA_6, "Intel 82801BA-ICH2" }, |
@@ -1275,8 +1275,8 @@ static struct shortname_table { | |||
1275 | { 0 }, | 1275 | { 0 }, |
1276 | }; | 1276 | }; |
1277 | 1277 | ||
1278 | static int __devinit snd_intel8x0m_probe(struct pci_dev *pci, | 1278 | static int snd_intel8x0m_probe(struct pci_dev *pci, |
1279 | const struct pci_device_id *pci_id) | 1279 | const struct pci_device_id *pci_id) |
1280 | { | 1280 | { |
1281 | struct snd_card *card; | 1281 | struct snd_card *card; |
1282 | struct intel8x0m *chip; | 1282 | struct intel8x0m *chip; |
@@ -1325,7 +1325,7 @@ static int __devinit snd_intel8x0m_probe(struct pci_dev *pci, | |||
1325 | return 0; | 1325 | return 0; |
1326 | } | 1326 | } |
1327 | 1327 | ||
1328 | static void __devexit snd_intel8x0m_remove(struct pci_dev *pci) | 1328 | static void snd_intel8x0m_remove(struct pci_dev *pci) |
1329 | { | 1329 | { |
1330 | snd_card_free(pci_get_drvdata(pci)); | 1330 | snd_card_free(pci_get_drvdata(pci)); |
1331 | pci_set_drvdata(pci, NULL); | 1331 | pci_set_drvdata(pci, NULL); |
@@ -1335,7 +1335,7 @@ static struct pci_driver intel8x0m_driver = { | |||
1335 | .name = KBUILD_MODNAME, | 1335 | .name = KBUILD_MODNAME, |
1336 | .id_table = snd_intel8x0m_ids, | 1336 | .id_table = snd_intel8x0m_ids, |
1337 | .probe = snd_intel8x0m_probe, | 1337 | .probe = snd_intel8x0m_probe, |
1338 | .remove = __devexit_p(snd_intel8x0m_remove), | 1338 | .remove = snd_intel8x0m_remove, |
1339 | .driver = { | 1339 | .driver = { |
1340 | .pm = INTEL8X0M_PM_OPS, | 1340 | .pm = INTEL8X0M_PM_OPS, |
1341 | }, | 1341 | }, |