aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/trident/trident.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/trident/trident.c')
-rw-r--r--sound/pci/trident/trident.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sound/pci/trident/trident.c b/sound/pci/trident/trident.c
index 0999f1f83a99..2b21df16ad6a 100644
--- a/sound/pci/trident/trident.c
+++ b/sound/pci/trident/trident.c
@@ -100,6 +100,7 @@ static int __devinit snd_trident_probe(struct pci_dev *pci,
100 snd_card_free(card); 100 snd_card_free(card);
101 return err; 101 return err;
102 } 102 }
103 card->private_data = trident;
103 104
104 switch (trident->device) { 105 switch (trident->device) {
105 case TRIDENT_DEVICE_ID_DX: 106 case TRIDENT_DEVICE_ID_DX:
@@ -180,7 +181,10 @@ static struct pci_driver driver = {
180 .id_table = snd_trident_ids, 181 .id_table = snd_trident_ids,
181 .probe = snd_trident_probe, 182 .probe = snd_trident_probe,
182 .remove = __devexit_p(snd_trident_remove), 183 .remove = __devexit_p(snd_trident_remove),
183 SND_PCI_PM_CALLBACKS 184#ifdef CONFIG_PM
185 .suspend = snd_trident_suspend,
186 .resume = snd_trident_resume,
187#endif
184}; 188};
185 189
186static int __init alsa_card_trident_init(void) 190static int __init alsa_card_trident_init(void)