projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ALSA: pci: Avoid non-standard macro usage
[linux-2.6-block.git]
/
sound
/
pci
/
als300.c
diff --git
a/sound/pci/als300.c
b/sound/pci/als300.c
index 530799c8d3ce8025adb5d60a01105e593965ead9..cfbb8cacaaacb2e46572e8bd6f710f83afba24aa 100644
(file)
--- a/
sound/pci/als300.c
+++ b/
sound/pci/als300.c
@@
-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;
}