ALSA: pci: Avoid non-standard macro usage
[linux-2.6-block.git] / sound / pci / als300.c
index 530799c8d3ce8025adb5d60a01105e593965ead9..cfbb8cacaaacb2e46572e8bd6f710f83afba24aa 100644 (file)
@@ -592,7 +592,8 @@ static int snd_als300_new_pcm(struct snd_als300 *chip)
 
        /* pre-allocation of buffers */
        snd_pcm_lib_preallocate_pages_for_all(pcm, SNDRV_DMA_TYPE_DEV,
-       snd_dma_pci_data(chip->pci), 64*1024, 64*1024);
+                                             &chip->pci->dev,
+                                             64*1024, 64*1024);
        return 0;
 }