aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/ctxfi/ctatc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/ctxfi/ctatc.c')
-rw-r--r--sound/pci/ctxfi/ctatc.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/sound/pci/ctxfi/ctatc.c b/sound/pci/ctxfi/ctatc.c
index a2f997a9977a..b5fa583a239a 100644
--- a/sound/pci/ctxfi/ctatc.c
+++ b/sound/pci/ctxfi/ctatc.c
@@ -38,7 +38,7 @@
38 | (0x10 << 16) \ 38 | (0x10 << 16) \
39 | ((IEC958_AES3_CON_FS_48000) << 24)) 39 | ((IEC958_AES3_CON_FS_48000) << 24))
40 40
41static struct snd_pci_quirk __devinitdata subsys_20k1_list[] = { 41static struct snd_pci_quirk subsys_20k1_list[] = {
42 SND_PCI_QUIRK(PCI_VENDOR_ID_CREATIVE, 0x0022, "SB055x", CTSB055X), 42 SND_PCI_QUIRK(PCI_VENDOR_ID_CREATIVE, 0x0022, "SB055x", CTSB055X),
43 SND_PCI_QUIRK(PCI_VENDOR_ID_CREATIVE, 0x002f, "SB055x", CTSB055X), 43 SND_PCI_QUIRK(PCI_VENDOR_ID_CREATIVE, 0x002f, "SB055x", CTSB055X),
44 SND_PCI_QUIRK(PCI_VENDOR_ID_CREATIVE, 0x0029, "SB073x", CTSB073X), 44 SND_PCI_QUIRK(PCI_VENDOR_ID_CREATIVE, 0x0029, "SB073x", CTSB073X),
@@ -48,7 +48,7 @@ static struct snd_pci_quirk __devinitdata subsys_20k1_list[] = {
48 { } /* terminator */ 48 { } /* terminator */
49}; 49};
50 50
51static struct snd_pci_quirk __devinitdata subsys_20k2_list[] = { 51static struct snd_pci_quirk subsys_20k2_list[] = {
52 SND_PCI_QUIRK(PCI_VENDOR_ID_CREATIVE, PCI_SUBDEVICE_ID_CREATIVE_SB0760, 52 SND_PCI_QUIRK(PCI_VENDOR_ID_CREATIVE, PCI_SUBDEVICE_ID_CREATIVE_SB0760,
53 "SB0760", CTSB0760), 53 "SB0760", CTSB0760),
54 SND_PCI_QUIRK(PCI_VENDOR_ID_CREATIVE, PCI_SUBDEVICE_ID_CREATIVE_SB1270, 54 SND_PCI_QUIRK(PCI_VENDOR_ID_CREATIVE, PCI_SUBDEVICE_ID_CREATIVE_SB1270,
@@ -1249,7 +1249,7 @@ static int atc_dev_free(struct snd_device *dev)
1249 return ct_atc_destroy(atc); 1249 return ct_atc_destroy(atc);
1250} 1250}
1251 1251
1252static int __devinit atc_identify_card(struct ct_atc *atc, unsigned int ssid) 1252static int atc_identify_card(struct ct_atc *atc, unsigned int ssid)
1253{ 1253{
1254 const struct snd_pci_quirk *p; 1254 const struct snd_pci_quirk *p;
1255 const struct snd_pci_quirk *list; 1255 const struct snd_pci_quirk *list;
@@ -1296,7 +1296,7 @@ static int __devinit atc_identify_card(struct ct_atc *atc, unsigned int ssid)
1296 return 0; 1296 return 0;
1297} 1297}
1298 1298
1299int __devinit ct_atc_create_alsa_devs(struct ct_atc *atc) 1299int ct_atc_create_alsa_devs(struct ct_atc *atc)
1300{ 1300{
1301 enum CTALSADEVS i; 1301 enum CTALSADEVS i;
1302 int err; 1302 int err;
@@ -1319,7 +1319,7 @@ int __devinit ct_atc_create_alsa_devs(struct ct_atc *atc)
1319 return 0; 1319 return 0;
1320} 1320}
1321 1321
1322static int __devinit atc_create_hw_devs(struct ct_atc *atc) 1322static int atc_create_hw_devs(struct ct_atc *atc)
1323{ 1323{
1324 struct hw *hw; 1324 struct hw *hw;
1325 struct card_conf info = {0}; 1325 struct card_conf info = {0};
@@ -1614,7 +1614,7 @@ static int atc_resume(struct ct_atc *atc)
1614} 1614}
1615#endif 1615#endif
1616 1616
1617static struct ct_atc atc_preset __devinitdata = { 1617static struct ct_atc atc_preset = {
1618 .map_audio_buffer = ct_map_audio_buffer, 1618 .map_audio_buffer = ct_map_audio_buffer,
1619 .unmap_audio_buffer = ct_unmap_audio_buffer, 1619 .unmap_audio_buffer = ct_unmap_audio_buffer,
1620 .pcm_playback_prepare = atc_pcm_playback_prepare, 1620 .pcm_playback_prepare = atc_pcm_playback_prepare,
@@ -1665,10 +1665,10 @@ static struct ct_atc atc_preset __devinitdata = {
1665 * Returns 0 if succeeds, or negative error code if fails. 1665 * Returns 0 if succeeds, or negative error code if fails.
1666 */ 1666 */
1667 1667
1668int __devinit ct_atc_create(struct snd_card *card, struct pci_dev *pci, 1668int ct_atc_create(struct snd_card *card, struct pci_dev *pci,
1669 unsigned int rsr, unsigned int msr, 1669 unsigned int rsr, unsigned int msr,
1670 int chip_type, unsigned int ssid, 1670 int chip_type, unsigned int ssid,
1671 struct ct_atc **ratc) 1671 struct ct_atc **ratc)
1672{ 1672{
1673 struct ct_atc *atc; 1673 struct ct_atc *atc;
1674 static struct snd_device_ops ops = { 1674 static struct snd_device_ops ops = {