summaryrefslogtreecommitdiffstats
path: root/sound/pci/emu10k1/p16v.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2005-12-05 15:12:20 +0100
committerJaroslav Kysela <perex@suse.cz>2006-01-03 12:30:17 +0100
commitbd01e7bc9e975d7d3d6fe4eb2f2cf7ae83041c49 (patch)
treef2a64df5f65d35575f4ba10fceaa01d3f6ce7ce3 /sound/pci/emu10k1/p16v.c
parent19b99fbaed2e2971b756311435c67e84431d8515 (diff)
downloadlinux-bd01e7bc9e975d7d3d6fe4eb2f2cf7ae83041c49.tar.gz
linux-bd01e7bc9e975d7d3d6fe4eb2f2cf7ae83041c49.tar.bz2
linux-bd01e7bc9e975d7d3d6fe4eb2f2cf7ae83041c49.zip
[ALSA] emu10k1 - Fix missing declarations
Modules: EMU10K1/EMU10K2 driver sound/pci/emu10k1/emufx.c: In function 'snd_emu10k1_efx_alloc_pm_buffer': sound/pci/emu10k1/emufx.c:2402: error: implicit declaration of function 'vmalloc' sound/pci/emu10k1/emufx.c:2402: warning: assignment makes pointer from integer without a cast sound/pci/emu10k1/emufx.c: In function 'snd_emu10k1_efx_free_pm_buffer': sound/pci/emu10k1/emufx.c:2413: error: implicit declaration of function 'vfree' Signed-off-by: Andreas Schwab <schwab@suse.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/emu10k1/p16v.c')
-rw-r--r--sound/pci/emu10k1/p16v.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/emu10k1/p16v.c b/sound/pci/emu10k1/p16v.c
index adce6af98d01..76d86ed46df0 100644
--- a/sound/pci/emu10k1/p16v.c
+++ b/sound/pci/emu10k1/p16v.c
@@ -93,6 +93,7 @@
#include <linux/interrupt.h>
#include <linux/pci.h>
#include <linux/slab.h>
+#include <linux/vmalloc.h>
#include <linux/moduleparam.h>
#include <sound/core.h>
#include <sound/initval.h>