diff options
author | Andreas Schwab <schwab@suse.de> | 2005-12-05 09:12:20 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-01-03 06:30:17 -0500 |
commit | bd01e7bc9e975d7d3d6fe4eb2f2cf7ae83041c49 (patch) | |
tree | f2a64df5f65d35575f4ba10fceaa01d3f6ce7ce3 /sound/pci/emu10k1 | |
parent | 19b99fbaed2e2971b756311435c67e84431d8515 (diff) |
[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')
-rw-r--r-- | sound/pci/emu10k1/emufx.c | 1 | ||||
-rw-r--r-- | sound/pci/emu10k1/p16v.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/emu10k1/emufx.c b/sound/pci/emu10k1/emufx.c index cd356b04078b..1a903390ad6d 100644 --- a/sound/pci/emu10k1/emufx.c +++ b/sound/pci/emu10k1/emufx.c | |||
@@ -29,6 +29,7 @@ | |||
29 | #include <linux/pci.h> | 29 | #include <linux/pci.h> |
30 | #include <linux/delay.h> | 30 | #include <linux/delay.h> |
31 | #include <linux/slab.h> | 31 | #include <linux/slab.h> |
32 | #include <linux/vmalloc.h> | ||
32 | #include <linux/init.h> | 33 | #include <linux/init.h> |
33 | #include <sound/core.h> | 34 | #include <sound/core.h> |
34 | #include <sound/emu10k1.h> | 35 | #include <sound/emu10k1.h> |
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 @@ | |||
93 | #include <linux/interrupt.h> | 93 | #include <linux/interrupt.h> |
94 | #include <linux/pci.h> | 94 | #include <linux/pci.h> |
95 | #include <linux/slab.h> | 95 | #include <linux/slab.h> |
96 | #include <linux/vmalloc.h> | ||
96 | #include <linux/moduleparam.h> | 97 | #include <linux/moduleparam.h> |
97 | #include <sound/core.h> | 98 | #include <sound/core.h> |
98 | #include <sound/initval.h> | 99 | #include <sound/initval.h> |