aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/oxygen/virtuoso.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/oxygen/virtuoso.c')
-rw-r--r--sound/pci/oxygen/virtuoso.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/sound/pci/oxygen/virtuoso.c b/sound/pci/oxygen/virtuoso.c
index 3d71423b23bc..64b9fda5f04a 100644
--- a/sound/pci/oxygen/virtuoso.c
+++ b/sound/pci/oxygen/virtuoso.c
@@ -52,13 +52,14 @@ static DEFINE_PCI_DEVICE_TABLE(xonar_ids) = {
52 { OXYGEN_PCI_SUBID(0x1043, 0x835d) }, 52 { OXYGEN_PCI_SUBID(0x1043, 0x835d) },
53 { OXYGEN_PCI_SUBID(0x1043, 0x835e) }, 53 { OXYGEN_PCI_SUBID(0x1043, 0x835e) },
54 { OXYGEN_PCI_SUBID(0x1043, 0x838e) }, 54 { OXYGEN_PCI_SUBID(0x1043, 0x838e) },
55 { OXYGEN_PCI_SUBID(0x1043, 0x8522) },
55 { OXYGEN_PCI_SUBID_BROKEN_EEPROM }, 56 { OXYGEN_PCI_SUBID_BROKEN_EEPROM },
56 { } 57 { }
57}; 58};
58MODULE_DEVICE_TABLE(pci, xonar_ids); 59MODULE_DEVICE_TABLE(pci, xonar_ids);
59 60
60static int __devinit get_xonar_model(struct oxygen *chip, 61static int get_xonar_model(struct oxygen *chip,
61 const struct pci_device_id *id) 62 const struct pci_device_id *id)
62{ 63{
63 if (get_xonar_pcm179x_model(chip, id) >= 0) 64 if (get_xonar_pcm179x_model(chip, id) >= 0)
64 return 0; 65 return 0;
@@ -69,8 +70,8 @@ static int __devinit get_xonar_model(struct oxygen *chip,
69 return -EINVAL; 70 return -EINVAL;
70} 71}
71 72
72static int __devinit xonar_probe(struct pci_dev *pci, 73static int xonar_probe(struct pci_dev *pci,
73 const struct pci_device_id *pci_id) 74 const struct pci_device_id *pci_id)
74{ 75{
75 static int dev; 76 static int dev;
76 int err; 77 int err;
@@ -92,7 +93,7 @@ static struct pci_driver xonar_driver = {
92 .name = KBUILD_MODNAME, 93 .name = KBUILD_MODNAME,
93 .id_table = xonar_ids, 94 .id_table = xonar_ids,
94 .probe = xonar_probe, 95 .probe = xonar_probe,
95 .remove = __devexit_p(oxygen_pci_remove), 96 .remove = oxygen_pci_remove,
96#ifdef CONFIG_PM_SLEEP 97#ifdef CONFIG_PM_SLEEP
97 .driver = { 98 .driver = {
98 .pm = &oxygen_pci_pm, 99 .pm = &oxygen_pci_pm,