aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/atiixp_modem.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/atiixp_modem.c')
-rw-r--r--sound/pci/atiixp_modem.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/sound/pci/atiixp_modem.c b/sound/pci/atiixp_modem.c
index 6fc03d9f2cff..d0bec7ba3b0d 100644
--- a/sound/pci/atiixp_modem.c
+++ b/sound/pci/atiixp_modem.c
@@ -988,7 +988,7 @@ static struct atiixp_dma_ops snd_atiixp_capture_dma_ops = {
988 .flush_dma = atiixp_in_flush_dma, 988 .flush_dma = atiixp_in_flush_dma,
989}; 989};
990 990
991static int __devinit snd_atiixp_pcm_new(struct atiixp_modem *chip) 991static int snd_atiixp_pcm_new(struct atiixp_modem *chip)
992{ 992{
993 struct snd_pcm *pcm; 993 struct snd_pcm *pcm;
994 int err; 994 int err;
@@ -1061,7 +1061,7 @@ static irqreturn_t snd_atiixp_interrupt(int irq, void *dev_id)
1061 * ac97 mixer section 1061 * ac97 mixer section
1062 */ 1062 */
1063 1063
1064static int __devinit snd_atiixp_mixer_new(struct atiixp_modem *chip, int clock) 1064static int snd_atiixp_mixer_new(struct atiixp_modem *chip, int clock)
1065{ 1065{
1066 struct snd_ac97_bus *pbus; 1066 struct snd_ac97_bus *pbus;
1067 struct snd_ac97_template ac97; 1067 struct snd_ac97_template ac97;
@@ -1186,7 +1186,7 @@ static void snd_atiixp_proc_read(struct snd_info_entry *entry,
1186 snd_iprintf(buffer, "%02x: %08x\n", i, readl(chip->remap_addr + i)); 1186 snd_iprintf(buffer, "%02x: %08x\n", i, readl(chip->remap_addr + i));
1187} 1187}
1188 1188
1189static void __devinit snd_atiixp_proc_init(struct atiixp_modem *chip) 1189static void snd_atiixp_proc_init(struct atiixp_modem *chip)
1190{ 1190{
1191 struct snd_info_entry *entry; 1191 struct snd_info_entry *entry;
1192 1192
@@ -1228,9 +1228,9 @@ static int snd_atiixp_dev_free(struct snd_device *device)
1228/* 1228/*
1229 * constructor for chip instance 1229 * constructor for chip instance
1230 */ 1230 */
1231static int __devinit snd_atiixp_create(struct snd_card *card, 1231static int snd_atiixp_create(struct snd_card *card,
1232 struct pci_dev *pci, 1232 struct pci_dev *pci,
1233 struct atiixp_modem **r_chip) 1233 struct atiixp_modem **r_chip)
1234{ 1234{
1235 static struct snd_device_ops ops = { 1235 static struct snd_device_ops ops = {
1236 .dev_free = snd_atiixp_dev_free, 1236 .dev_free = snd_atiixp_dev_free,
@@ -1287,8 +1287,8 @@ static int __devinit snd_atiixp_create(struct snd_card *card,
1287} 1287}
1288 1288
1289 1289
1290static int __devinit snd_atiixp_probe(struct pci_dev *pci, 1290static int snd_atiixp_probe(struct pci_dev *pci,
1291 const struct pci_device_id *pci_id) 1291 const struct pci_device_id *pci_id)
1292{ 1292{
1293 struct snd_card *card; 1293 struct snd_card *card;
1294 struct atiixp_modem *chip; 1294 struct atiixp_modem *chip;
@@ -1331,7 +1331,7 @@ static int __devinit snd_atiixp_probe(struct pci_dev *pci,
1331 return err; 1331 return err;
1332} 1332}
1333 1333
1334static void __devexit snd_atiixp_remove(struct pci_dev *pci) 1334static void snd_atiixp_remove(struct pci_dev *pci)
1335{ 1335{
1336 snd_card_free(pci_get_drvdata(pci)); 1336 snd_card_free(pci_get_drvdata(pci));
1337 pci_set_drvdata(pci, NULL); 1337 pci_set_drvdata(pci, NULL);
@@ -1341,7 +1341,7 @@ static struct pci_driver atiixp_modem_driver = {
1341 .name = KBUILD_MODNAME, 1341 .name = KBUILD_MODNAME,
1342 .id_table = snd_atiixp_ids, 1342 .id_table = snd_atiixp_ids,
1343 .probe = snd_atiixp_probe, 1343 .probe = snd_atiixp_probe,
1344 .remove = __devexit_p(snd_atiixp_remove), 1344 .remove = snd_atiixp_remove,
1345 .driver = { 1345 .driver = {
1346 .pm = SND_ATIIXP_PM_OPS, 1346 .pm = SND_ATIIXP_PM_OPS,
1347 }, 1347 },