ALSA: pci: Avoid non-standard macro usage
[linux-2.6-block.git] / sound / pci / fm801.c
index 3ef7d507eb9bfe12c8c1b64c192bb578075c4aa4..a7f8109acced78f4d246422fb0baff3e4e5e090b 100644 (file)
@@ -721,7 +721,7 @@ static int snd_fm801_pcm(struct fm801 *chip, int device)
        chip->pcm = pcm;
 
        snd_pcm_lib_preallocate_pages_for_all(pcm, SNDRV_DMA_TYPE_DEV,
-                                             snd_dma_pci_data(pdev),
+                                             &pdev->dev,
                                              chip->multichannel ? 128*1024 : 64*1024, 128*1024);
 
        return snd_pcm_add_chmap_ctls(pcm, SNDRV_PCM_STREAM_PLAYBACK,