diff options
Diffstat (limited to 'sound/synth')
| -rw-r--r-- | sound/synth/emux/emux.c | 1 | ||||
| -rw-r--r-- | sound/synth/emux/emux_oss.c | 1 | ||||
| -rw-r--r-- | sound/synth/emux/emux_seq.c | 2 | ||||
| -rw-r--r-- | sound/synth/emux/emux_synth.c | 1 | ||||
| -rw-r--r-- | sound/synth/emux/soundfont.c | 2 | ||||
| -rw-r--r-- | sound/synth/util_mem.c | 1 | 
6 files changed, 7 insertions, 1 deletions
diff --git a/sound/synth/emux/emux.c b/sound/synth/emux/emux.c index f16a3fce459..93522072bc8 100644 --- a/sound/synth/emux/emux.c +++ b/sound/synth/emux/emux.c @@ -24,6 +24,7 @@  #include <sound/core.h>  #include <sound/emux_synth.h>  #include <linux/init.h> +#include <linux/module.h>  #include "emux_voice.h"  MODULE_AUTHOR("Takashi Iwai"); diff --git a/sound/synth/emux/emux_oss.c b/sound/synth/emux/emux_oss.c index 87e42206c4e..319754cf620 100644 --- a/sound/synth/emux/emux_oss.c +++ b/sound/synth/emux/emux_oss.c @@ -25,6 +25,7 @@  #ifdef CONFIG_SND_SEQUENCER_OSS +#include <linux/export.h>  #include <asm/uaccess.h>  #include <sound/core.h>  #include "emux_voice.h" diff --git a/sound/synth/emux/emux_seq.c b/sound/synth/emux/emux_seq.c index ca5f7effb4d..7778b8e1978 100644 --- a/sound/synth/emux/emux_seq.c +++ b/sound/synth/emux/emux_seq.c @@ -21,7 +21,7 @@  #include "emux_voice.h"  #include <linux/slab.h> - +#include <linux/module.h>  /* Prototypes for static functions */  static void free_port(void *private); diff --git a/sound/synth/emux/emux_synth.c b/sound/synth/emux/emux_synth.c index 3e921b386fd..9a38de459ac 100644 --- a/sound/synth/emux/emux_synth.c +++ b/sound/synth/emux/emux_synth.c @@ -22,6 +22,7 @@   *   */ +#include <linux/export.h>  #include "emux_voice.h"  #include <sound/asoundef.h> diff --git a/sound/synth/emux/soundfont.c b/sound/synth/emux/soundfont.c index 67c91230c19..78683b2064f 100644 --- a/sound/synth/emux/soundfont.c +++ b/sound/synth/emux/soundfont.c @@ -27,6 +27,7 @@   */  #include <asm/uaccess.h>  #include <linux/slab.h> +#include <linux/export.h>  #include <sound/core.h>  #include <sound/soundfont.h>  #include <sound/seq_oss_legacy.h> @@ -1020,6 +1021,7 @@ load_guspatch(struct snd_sf_list *sflist, const char __user *data,  			 data, count);  		if (rc < 0) {  			sf_sample_delete(sflist, sf, smp); +			kfree(zone);  			return rc;  		}  		/* memory offset is updated after */ diff --git a/sound/synth/util_mem.c b/sound/synth/util_mem.c index c85522e3808..8e34bc4e07e 100644 --- a/sound/synth/util_mem.c +++ b/sound/synth/util_mem.c @@ -21,6 +21,7 @@  #include <linux/mutex.h>  #include <linux/init.h>  #include <linux/slab.h> +#include <linux/module.h>  #include <sound/core.h>  #include <sound/util_mem.h>  | 
