ALSA: pci: Avoid non-standard macro usage
[linux-2.6-block.git] / sound / pci / lx6464es / lx6464es.c
index fe10714380f2ce1a48e9bf142381144bcc6e3c63..d0f63fa5412111935522a75cc50a86df94c9e6d0 100644 (file)
@@ -846,7 +846,7 @@ static int lx_pcm_create(struct lx6464es *chip)
        strcpy(pcm->name, card_name);
 
        snd_pcm_lib_preallocate_pages_for_all(pcm, SNDRV_DMA_TYPE_DEV,
-                                             snd_dma_pci_data(chip->pci),
+                                             &chip->pci->dev,
                                              size, size);
 
        chip->pcm = pcm;