aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/nm256/nm256.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/nm256/nm256.c')
-rw-r--r--sound/pci/nm256/nm256.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/sound/pci/nm256/nm256.c b/sound/pci/nm256/nm256.c
index e80e9a1e84aa..563a193e36a3 100644
--- a/sound/pci/nm256/nm256.c
+++ b/sound/pci/nm256/nm256.c
@@ -928,7 +928,7 @@ static struct snd_pcm_ops snd_nm256_capture_ops = {
928 .mmap = snd_pcm_lib_mmap_iomem, 928 .mmap = snd_pcm_lib_mmap_iomem,
929}; 929};
930 930
931static int __devinit 931static int
932snd_nm256_pcm(struct nm256 *chip, int device) 932snd_nm256_pcm(struct nm256 *chip, int device)
933{ 933{
934 struct snd_pcm *pcm; 934 struct snd_pcm *pcm;
@@ -1295,7 +1295,7 @@ snd_nm256_ac97_reset(struct snd_ac97 *ac97)
1295} 1295}
1296 1296
1297/* create an ac97 mixer interface */ 1297/* create an ac97 mixer interface */
1298static int __devinit 1298static int
1299snd_nm256_mixer(struct nm256 *chip) 1299snd_nm256_mixer(struct nm256 *chip)
1300{ 1300{
1301 struct snd_ac97_bus *pbus; 1301 struct snd_ac97_bus *pbus;
@@ -1336,7 +1336,7 @@ snd_nm256_mixer(struct nm256 *chip)
1336 * RAM. 1336 * RAM.
1337 */ 1337 */
1338 1338
1339static int __devinit 1339static int
1340snd_nm256_peek_for_sig(struct nm256 *chip) 1340snd_nm256_peek_for_sig(struct nm256 *chip)
1341{ 1341{
1342 /* The signature is located 1K below the end of video RAM. */ 1342 /* The signature is located 1K below the end of video RAM. */
@@ -1472,7 +1472,7 @@ static int snd_nm256_dev_free(struct snd_device *device)
1472 return snd_nm256_free(chip); 1472 return snd_nm256_free(chip);
1473} 1473}
1474 1474
1475static int __devinit 1475static int
1476snd_nm256_create(struct snd_card *card, struct pci_dev *pci, 1476snd_nm256_create(struct snd_card *card, struct pci_dev *pci,
1477 struct nm256 **chip_ret) 1477 struct nm256 **chip_ret)
1478{ 1478{
@@ -1639,7 +1639,7 @@ __error:
1639 1639
1640enum { NM_BLACKLISTED, NM_RESET_WORKAROUND, NM_RESET_WORKAROUND_2 }; 1640enum { NM_BLACKLISTED, NM_RESET_WORKAROUND, NM_RESET_WORKAROUND_2 };
1641 1641
1642static struct snd_pci_quirk nm256_quirks[] __devinitdata = { 1642static struct snd_pci_quirk nm256_quirks[] = {
1643 /* HP omnibook 4150 has cs4232 codec internally */ 1643 /* HP omnibook 4150 has cs4232 codec internally */
1644 SND_PCI_QUIRK(0x103c, 0x0007, "HP omnibook 4150", NM_BLACKLISTED), 1644 SND_PCI_QUIRK(0x103c, 0x0007, "HP omnibook 4150", NM_BLACKLISTED),
1645 /* Reset workarounds to avoid lock-ups */ 1645 /* Reset workarounds to avoid lock-ups */
@@ -1650,8 +1650,8 @@ static struct snd_pci_quirk nm256_quirks[] __devinitdata = {
1650}; 1650};
1651 1651
1652 1652
1653static int __devinit snd_nm256_probe(struct pci_dev *pci, 1653static int snd_nm256_probe(struct pci_dev *pci,
1654 const struct pci_device_id *pci_id) 1654 const struct pci_device_id *pci_id)
1655{ 1655{
1656 struct snd_card *card; 1656 struct snd_card *card;
1657 struct nm256 *chip; 1657 struct nm256 *chip;
@@ -1742,7 +1742,7 @@ static int __devinit snd_nm256_probe(struct pci_dev *pci,
1742 return 0; 1742 return 0;
1743} 1743}
1744 1744
1745static void __devexit snd_nm256_remove(struct pci_dev *pci) 1745static void snd_nm256_remove(struct pci_dev *pci)
1746{ 1746{
1747 snd_card_free(pci_get_drvdata(pci)); 1747 snd_card_free(pci_get_drvdata(pci));
1748 pci_set_drvdata(pci, NULL); 1748 pci_set_drvdata(pci, NULL);
@@ -1753,7 +1753,7 @@ static struct pci_driver nm256_driver = {
1753 .name = KBUILD_MODNAME, 1753 .name = KBUILD_MODNAME,
1754 .id_table = snd_nm256_ids, 1754 .id_table = snd_nm256_ids,
1755 .probe = snd_nm256_probe, 1755 .probe = snd_nm256_probe,
1756 .remove = __devexit_p(snd_nm256_remove), 1756 .remove = snd_nm256_remove,
1757 .driver = { 1757 .driver = {
1758 .pm = NM256_PM_OPS, 1758 .pm = NM256_PM_OPS,
1759 }, 1759 },