Commit 842eaa7a authored by Jaroslav Kysela's avatar Jaroslav Kysela

ALSA CVS update - Takashi Iwai <tiwai@suse.de>

Memalloc module
- fixed the compilation without PCI support.
  added ifdef CONFIG_PCI around preallocate_cards().
parent 72a89a6c
......@@ -783,6 +783,7 @@ void snd_free_sbus_pages(struct sbus_dev *sdev,
* allocation of buffers for pre-defined devices
*/
#ifdef CONFIG_PCI
/* FIXME: for pci only - other bus? */
struct prealloc_dev {
unsigned short vendor;
......@@ -854,6 +855,9 @@ static void __init preallocate_cards(void)
}
}
}
#else
#define preallocate_cards() /* NOP */
#endif
#ifdef CONFIG_PROC_FS
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment