aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorEliot Blennerhassett <eblennerhassett@audioscience.com>2011-02-09 23:26:10 -0500
committerTakashi Iwai <tiwai@suse.de>2011-02-10 12:49:32 -0500
commit1225367a481ae751738630158c7ca96aa1c7bac8 (patch)
tree7d6ac0594f9345949b1c7029a11da621dfed6cf2 /sound
parent2f918a6445218120a7b5e4ce6b6e76064ee8f846 (diff)
ALSA: asihpi - Add snd_card_set_dev to init.
Signed-off-by: Eliot Blennerhassett <eblennerhassett@audioscience.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/asihpi/asihpi.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/pci/asihpi/asihpi.c b/sound/pci/asihpi/asihpi.c
index 8dda81aac433..b824df11dd02 100644
--- a/sound/pci/asihpi/asihpi.c
+++ b/sound/pci/asihpi/asihpi.c
@@ -2840,9 +2840,11 @@ static int __devinit snd_asihpi_probe(struct pci_dev *pci_dev,
2840 hpi_card->index, card->number); 2840 hpi_card->index, card->number);
2841 } 2841 }
2842 2842
2843 snd_card_set_dev(card, &pci_dev->dev);
2844
2843 asihpi = (struct snd_card_asihpi *) card->private_data; 2845 asihpi = (struct snd_card_asihpi *) card->private_data;
2844 asihpi->card = card; 2846 asihpi->card = card;
2845 asihpi->pci = hpi_card->pci; 2847 asihpi->pci = pci_dev;
2846 asihpi->adapter_index = hpi_card->index; 2848 asihpi->adapter_index = hpi_card->index;
2847 hpi_handle_error(hpi_adapter_get_info( 2849 hpi_handle_error(hpi_adapter_get_info(
2848 asihpi->adapter_index, 2850 asihpi->adapter_index,