]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ALSA] emu10k1 - Fix missing declarations
authorAndreas Schwab <schwab@suse.de>
Mon, 5 Dec 2005 14:12:20 +0000 (15:12 +0100)
committerJaroslav Kysela <perex@suse.cz>
Tue, 3 Jan 2006 11:30:17 +0000 (12:30 +0100)
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>
sound/pci/emu10k1/emufx.c
sound/pci/emu10k1/p16v.c

index cd356b04078ba6d15d44905f9ea9ae7f6333ffb4..1a903390ad6dc99d79a16bade1c498246b88789a 100644 (file)
@@ -29,6 +29,7 @@
 #include <linux/pci.h>
 #include <linux/delay.h>
 #include <linux/slab.h>
+#include <linux/vmalloc.h>
 #include <linux/init.h>
 #include <sound/core.h>
 #include <sound/emu10k1.h>
index adce6af98d0163eb1ac7676a9c9ec2aeb6e8d0d4..76d86ed46df03d81b92329a450414980c8ee1060 100644 (file)
@@ -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>