aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/atiixp.c
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-12-06 12:35:10 -0500
committerTakashi Iwai <tiwai@suse.de>2012-12-07 01:20:55 -0500
commite23e7a1436207217000c2854214bc908936af3cb (patch)
treeaebb83a4e59dde76a79ac60b51b67849c75c545b /sound/pci/atiixp.c
parent445a51b353c35fe54840c10352ef51152fbb94df (diff)
ALSA: pci: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away. Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/atiixp.c')
-rw-r--r--sound/pci/atiixp.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/sound/pci/atiixp.c b/sound/pci/atiixp.c
index 368df8b0853e..a67743183aaf 100644
--- a/sound/pci/atiixp.c
+++ b/sound/pci/atiixp.c
@@ -296,7 +296,7 @@ static DEFINE_PCI_DEVICE_TABLE(snd_atiixp_ids) = {
296 296
297MODULE_DEVICE_TABLE(pci, snd_atiixp_ids); 297MODULE_DEVICE_TABLE(pci, snd_atiixp_ids);
298 298
299static struct snd_pci_quirk atiixp_quirks[] __devinitdata = { 299static struct snd_pci_quirk atiixp_quirks[] = {
300 SND_PCI_QUIRK(0x105b, 0x0c81, "Foxconn RC4107MA-RS2", 0), 300 SND_PCI_QUIRK(0x105b, 0x0c81, "Foxconn RC4107MA-RS2", 0),
301 SND_PCI_QUIRK(0x15bd, 0x3100, "DFI RS482", 0), 301 SND_PCI_QUIRK(0x15bd, 0x3100, "DFI RS482", 0),
302 { } /* terminator */ 302 { } /* terminator */
@@ -561,7 +561,7 @@ static int snd_atiixp_aclink_down(struct atiixp *chip)
561 ATI_REG_ISR_CODEC2_NOT_READY) 561 ATI_REG_ISR_CODEC2_NOT_READY)
562#define CODEC_CHECK_BITS (ALL_CODEC_NOT_READY|ATI_REG_ISR_NEW_FRAME) 562#define CODEC_CHECK_BITS (ALL_CODEC_NOT_READY|ATI_REG_ISR_NEW_FRAME)
563 563
564static int __devinit ac97_probing_bugs(struct pci_dev *pci) 564static int ac97_probing_bugs(struct pci_dev *pci)
565{ 565{
566 const struct snd_pci_quirk *q; 566 const struct snd_pci_quirk *q;
567 567
@@ -575,7 +575,7 @@ static int __devinit ac97_probing_bugs(struct pci_dev *pci)
575 return -1; 575 return -1;
576} 576}
577 577
578static int __devinit snd_atiixp_codec_detect(struct atiixp *chip) 578static int snd_atiixp_codec_detect(struct atiixp *chip)
579{ 579{
580 int timeout; 580 int timeout;
581 581
@@ -1183,7 +1183,7 @@ static struct snd_pcm_ops snd_atiixp_spdif_ops = {
1183 .pointer = snd_atiixp_pcm_pointer, 1183 .pointer = snd_atiixp_pcm_pointer,
1184}; 1184};
1185 1185
1186static struct ac97_pcm atiixp_pcm_defs[] __devinitdata = { 1186static struct ac97_pcm atiixp_pcm_defs[] = {
1187 /* front PCM */ 1187 /* front PCM */
1188 { 1188 {
1189 .exclusive = 1, 1189 .exclusive = 1,
@@ -1247,7 +1247,7 @@ static struct atiixp_dma_ops snd_atiixp_spdif_dma_ops = {
1247}; 1247};
1248 1248
1249 1249
1250static int __devinit snd_atiixp_pcm_new(struct atiixp *chip) 1250static int snd_atiixp_pcm_new(struct atiixp *chip)
1251{ 1251{
1252 struct snd_pcm *pcm; 1252 struct snd_pcm *pcm;
1253 struct snd_pcm_chmap *chmap; 1253 struct snd_pcm_chmap *chmap;
@@ -1390,7 +1390,7 @@ static irqreturn_t snd_atiixp_interrupt(int irq, void *dev_id)
1390 * ac97 mixer section 1390 * ac97 mixer section
1391 */ 1391 */
1392 1392
1393static struct ac97_quirk ac97_quirks[] __devinitdata = { 1393static struct ac97_quirk ac97_quirks[] = {
1394 { 1394 {
1395 .subvendor = 0x103c, 1395 .subvendor = 0x103c,
1396 .subdevice = 0x006b, 1396 .subdevice = 0x006b,
@@ -1412,8 +1412,8 @@ static struct ac97_quirk ac97_quirks[] __devinitdata = {
1412 { } /* terminator */ 1412 { } /* terminator */
1413}; 1413};
1414 1414
1415static int __devinit snd_atiixp_mixer_new(struct atiixp *chip, int clock, 1415static int snd_atiixp_mixer_new(struct atiixp *chip, int clock,
1416 const char *quirk_override) 1416 const char *quirk_override)
1417{ 1417{
1418 struct snd_ac97_bus *pbus; 1418 struct snd_ac97_bus *pbus;
1419 struct snd_ac97_template ac97; 1419 struct snd_ac97_template ac97;
@@ -1560,7 +1560,7 @@ static void snd_atiixp_proc_read(struct snd_info_entry *entry,
1560 snd_iprintf(buffer, "%02x: %08x\n", i, readl(chip->remap_addr + i)); 1560 snd_iprintf(buffer, "%02x: %08x\n", i, readl(chip->remap_addr + i));
1561} 1561}
1562 1562
1563static void __devinit snd_atiixp_proc_init(struct atiixp *chip) 1563static void snd_atiixp_proc_init(struct atiixp *chip)
1564{ 1564{
1565 struct snd_info_entry *entry; 1565 struct snd_info_entry *entry;
1566 1566
@@ -1602,9 +1602,9 @@ static int snd_atiixp_dev_free(struct snd_device *device)
1602/* 1602/*
1603 * constructor for chip instance 1603 * constructor for chip instance
1604 */ 1604 */
1605static int __devinit snd_atiixp_create(struct snd_card *card, 1605static int snd_atiixp_create(struct snd_card *card,
1606 struct pci_dev *pci, 1606 struct pci_dev *pci,
1607 struct atiixp **r_chip) 1607 struct atiixp **r_chip)
1608{ 1608{
1609 static struct snd_device_ops ops = { 1609 static struct snd_device_ops ops = {
1610 .dev_free = snd_atiixp_dev_free, 1610 .dev_free = snd_atiixp_dev_free,
@@ -1661,8 +1661,8 @@ static int __devinit snd_atiixp_create(struct snd_card *card,
1661} 1661}
1662 1662
1663 1663
1664static int __devinit snd_atiixp_probe(struct pci_dev *pci, 1664static int snd_atiixp_probe(struct pci_dev *pci,
1665 const struct pci_device_id *pci_id) 1665 const struct pci_device_id *pci_id)
1666{ 1666{
1667 struct snd_card *card; 1667 struct snd_card *card;
1668 struct atiixp *chip; 1668 struct atiixp *chip;
@@ -1710,7 +1710,7 @@ static int __devinit snd_atiixp_probe(struct pci_dev *pci,
1710 return err; 1710 return err;
1711} 1711}
1712 1712
1713static void __devexit snd_atiixp_remove(struct pci_dev *pci) 1713static void snd_atiixp_remove(struct pci_dev *pci)
1714{ 1714{
1715 snd_card_free(pci_get_drvdata(pci)); 1715 snd_card_free(pci_get_drvdata(pci));
1716 pci_set_drvdata(pci, NULL); 1716 pci_set_drvdata(pci, NULL);
@@ -1720,7 +1720,7 @@ static struct pci_driver atiixp_driver = {
1720 .name = KBUILD_MODNAME, 1720 .name = KBUILD_MODNAME,
1721 .id_table = snd_atiixp_ids, 1721 .id_table = snd_atiixp_ids,
1722 .probe = snd_atiixp_probe, 1722 .probe = snd_atiixp_probe,
1723 .remove = __devexit_p(snd_atiixp_remove), 1723 .remove = snd_atiixp_remove,
1724 .driver = { 1724 .driver = {
1725 .pm = SND_ATIIXP_PM_OPS, 1725 .pm = SND_ATIIXP_PM_OPS,
1726 }, 1726 },