Commit 602d7d72 authored by Takashi Iwai's avatar Takashi Iwai

ALSA: pcm: Follow standard EXPORT_SYMBOL() declarations

Just a tidy up to follow the standard EXPORT_SYMBOL*() declarations
in order to improve grep-ability.

- Remove superfluous blank line before EXPORT_SYMBOL*() lines
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 4a219ef8
...@@ -490,7 +490,6 @@ void snd_pcm_set_ops(struct snd_pcm *pcm, int direction, ...@@ -490,7 +490,6 @@ void snd_pcm_set_ops(struct snd_pcm *pcm, int direction,
for (substream = stream->substream; substream != NULL; substream = substream->next) for (substream = stream->substream; substream != NULL; substream = substream->next)
substream->ops = ops; substream->ops = ops;
} }
EXPORT_SYMBOL(snd_pcm_set_ops); EXPORT_SYMBOL(snd_pcm_set_ops);
/** /**
...@@ -508,7 +507,6 @@ void snd_pcm_set_sync(struct snd_pcm_substream *substream) ...@@ -508,7 +507,6 @@ void snd_pcm_set_sync(struct snd_pcm_substream *substream)
runtime->sync.id32[2] = -1; runtime->sync.id32[2] = -1;
runtime->sync.id32[3] = -1; runtime->sync.id32[3] = -1;
} }
EXPORT_SYMBOL(snd_pcm_set_sync); EXPORT_SYMBOL(snd_pcm_set_sync);
/* /*
...@@ -625,7 +623,6 @@ int snd_interval_refine(struct snd_interval *i, const struct snd_interval *v) ...@@ -625,7 +623,6 @@ int snd_interval_refine(struct snd_interval *i, const struct snd_interval *v)
} }
return changed; return changed;
} }
EXPORT_SYMBOL(snd_interval_refine); EXPORT_SYMBOL(snd_interval_refine);
static int snd_interval_refine_first(struct snd_interval *i) static int snd_interval_refine_first(struct snd_interval *i)
...@@ -888,7 +885,6 @@ int snd_interval_ratnum(struct snd_interval *i, ...@@ -888,7 +885,6 @@ int snd_interval_ratnum(struct snd_interval *i,
} }
return err; return err;
} }
EXPORT_SYMBOL(snd_interval_ratnum); EXPORT_SYMBOL(snd_interval_ratnum);
/** /**
...@@ -1026,7 +1022,6 @@ int snd_interval_list(struct snd_interval *i, unsigned int count, ...@@ -1026,7 +1022,6 @@ int snd_interval_list(struct snd_interval *i, unsigned int count,
} }
return snd_interval_refine(i, &list_range); return snd_interval_refine(i, &list_range);
} }
EXPORT_SYMBOL(snd_interval_list); EXPORT_SYMBOL(snd_interval_list);
/** /**
...@@ -1165,7 +1160,6 @@ int snd_pcm_hw_rule_add(struct snd_pcm_runtime *runtime, unsigned int cond, ...@@ -1165,7 +1160,6 @@ int snd_pcm_hw_rule_add(struct snd_pcm_runtime *runtime, unsigned int cond,
va_end(args); va_end(args);
return 0; return 0;
} }
EXPORT_SYMBOL(snd_pcm_hw_rule_add); EXPORT_SYMBOL(snd_pcm_hw_rule_add);
/** /**
...@@ -1229,7 +1223,6 @@ int snd_pcm_hw_constraint_integer(struct snd_pcm_runtime *runtime, snd_pcm_hw_pa ...@@ -1229,7 +1223,6 @@ int snd_pcm_hw_constraint_integer(struct snd_pcm_runtime *runtime, snd_pcm_hw_pa
struct snd_pcm_hw_constraints *constrs = &runtime->hw_constraints; struct snd_pcm_hw_constraints *constrs = &runtime->hw_constraints;
return snd_interval_setinteger(constrs_interval(constrs, var)); return snd_interval_setinteger(constrs_interval(constrs, var));
} }
EXPORT_SYMBOL(snd_pcm_hw_constraint_integer); EXPORT_SYMBOL(snd_pcm_hw_constraint_integer);
/** /**
...@@ -1255,7 +1248,6 @@ int snd_pcm_hw_constraint_minmax(struct snd_pcm_runtime *runtime, snd_pcm_hw_par ...@@ -1255,7 +1248,6 @@ int snd_pcm_hw_constraint_minmax(struct snd_pcm_runtime *runtime, snd_pcm_hw_par
t.integer = 0; t.integer = 0;
return snd_interval_refine(constrs_interval(constrs, var), &t); return snd_interval_refine(constrs_interval(constrs, var), &t);
} }
EXPORT_SYMBOL(snd_pcm_hw_constraint_minmax); EXPORT_SYMBOL(snd_pcm_hw_constraint_minmax);
static int snd_pcm_hw_rule_list(struct snd_pcm_hw_params *params, static int snd_pcm_hw_rule_list(struct snd_pcm_hw_params *params,
...@@ -1286,7 +1278,6 @@ int snd_pcm_hw_constraint_list(struct snd_pcm_runtime *runtime, ...@@ -1286,7 +1278,6 @@ int snd_pcm_hw_constraint_list(struct snd_pcm_runtime *runtime,
snd_pcm_hw_rule_list, (void *)l, snd_pcm_hw_rule_list, (void *)l,
var, -1); var, -1);
} }
EXPORT_SYMBOL(snd_pcm_hw_constraint_list); EXPORT_SYMBOL(snd_pcm_hw_constraint_list);
static int snd_pcm_hw_rule_ranges(struct snd_pcm_hw_params *params, static int snd_pcm_hw_rule_ranges(struct snd_pcm_hw_params *params,
...@@ -1353,7 +1344,6 @@ int snd_pcm_hw_constraint_ratnums(struct snd_pcm_runtime *runtime, ...@@ -1353,7 +1344,6 @@ int snd_pcm_hw_constraint_ratnums(struct snd_pcm_runtime *runtime,
snd_pcm_hw_rule_ratnums, (void *)r, snd_pcm_hw_rule_ratnums, (void *)r,
var, -1); var, -1);
} }
EXPORT_SYMBOL(snd_pcm_hw_constraint_ratnums); EXPORT_SYMBOL(snd_pcm_hw_constraint_ratnums);
static int snd_pcm_hw_rule_ratdens(struct snd_pcm_hw_params *params, static int snd_pcm_hw_rule_ratdens(struct snd_pcm_hw_params *params,
...@@ -1388,7 +1378,6 @@ int snd_pcm_hw_constraint_ratdens(struct snd_pcm_runtime *runtime, ...@@ -1388,7 +1378,6 @@ int snd_pcm_hw_constraint_ratdens(struct snd_pcm_runtime *runtime,
snd_pcm_hw_rule_ratdens, (void *)r, snd_pcm_hw_rule_ratdens, (void *)r,
var, -1); var, -1);
} }
EXPORT_SYMBOL(snd_pcm_hw_constraint_ratdens); EXPORT_SYMBOL(snd_pcm_hw_constraint_ratdens);
static int snd_pcm_hw_rule_msbits(struct snd_pcm_hw_params *params, static int snd_pcm_hw_rule_msbits(struct snd_pcm_hw_params *params,
...@@ -1435,7 +1424,6 @@ int snd_pcm_hw_constraint_msbits(struct snd_pcm_runtime *runtime, ...@@ -1435,7 +1424,6 @@ int snd_pcm_hw_constraint_msbits(struct snd_pcm_runtime *runtime,
(void*) l, (void*) l,
SNDRV_PCM_HW_PARAM_SAMPLE_BITS, -1); SNDRV_PCM_HW_PARAM_SAMPLE_BITS, -1);
} }
EXPORT_SYMBOL(snd_pcm_hw_constraint_msbits); EXPORT_SYMBOL(snd_pcm_hw_constraint_msbits);
static int snd_pcm_hw_rule_step(struct snd_pcm_hw_params *params, static int snd_pcm_hw_rule_step(struct snd_pcm_hw_params *params,
...@@ -1463,7 +1451,6 @@ int snd_pcm_hw_constraint_step(struct snd_pcm_runtime *runtime, ...@@ -1463,7 +1451,6 @@ int snd_pcm_hw_constraint_step(struct snd_pcm_runtime *runtime,
snd_pcm_hw_rule_step, (void *) step, snd_pcm_hw_rule_step, (void *) step,
var, -1); var, -1);
} }
EXPORT_SYMBOL(snd_pcm_hw_constraint_step); EXPORT_SYMBOL(snd_pcm_hw_constraint_step);
static int snd_pcm_hw_rule_pow2(struct snd_pcm_hw_params *params, struct snd_pcm_hw_rule *rule) static int snd_pcm_hw_rule_pow2(struct snd_pcm_hw_params *params, struct snd_pcm_hw_rule *rule)
...@@ -1494,7 +1481,6 @@ int snd_pcm_hw_constraint_pow2(struct snd_pcm_runtime *runtime, ...@@ -1494,7 +1481,6 @@ int snd_pcm_hw_constraint_pow2(struct snd_pcm_runtime *runtime,
snd_pcm_hw_rule_pow2, NULL, snd_pcm_hw_rule_pow2, NULL,
var, -1); var, -1);
} }
EXPORT_SYMBOL(snd_pcm_hw_constraint_pow2); EXPORT_SYMBOL(snd_pcm_hw_constraint_pow2);
static int snd_pcm_hw_rule_noresample_func(struct snd_pcm_hw_params *params, static int snd_pcm_hw_rule_noresample_func(struct snd_pcm_hw_params *params,
...@@ -1553,7 +1539,6 @@ void _snd_pcm_hw_params_any(struct snd_pcm_hw_params *params) ...@@ -1553,7 +1539,6 @@ void _snd_pcm_hw_params_any(struct snd_pcm_hw_params *params)
_snd_pcm_hw_param_any(params, k); _snd_pcm_hw_param_any(params, k);
params->info = ~0U; params->info = ~0U;
} }
EXPORT_SYMBOL(_snd_pcm_hw_params_any); EXPORT_SYMBOL(_snd_pcm_hw_params_any);
/** /**
...@@ -1586,7 +1571,6 @@ int snd_pcm_hw_param_value(const struct snd_pcm_hw_params *params, ...@@ -1586,7 +1571,6 @@ int snd_pcm_hw_param_value(const struct snd_pcm_hw_params *params,
} }
return -EINVAL; return -EINVAL;
} }
EXPORT_SYMBOL(snd_pcm_hw_param_value); EXPORT_SYMBOL(snd_pcm_hw_param_value);
void _snd_pcm_hw_param_setempty(struct snd_pcm_hw_params *params, void _snd_pcm_hw_param_setempty(struct snd_pcm_hw_params *params,
...@@ -1604,7 +1588,6 @@ void _snd_pcm_hw_param_setempty(struct snd_pcm_hw_params *params, ...@@ -1604,7 +1588,6 @@ void _snd_pcm_hw_param_setempty(struct snd_pcm_hw_params *params,
snd_BUG(); snd_BUG();
} }
} }
EXPORT_SYMBOL(_snd_pcm_hw_param_setempty); EXPORT_SYMBOL(_snd_pcm_hw_param_setempty);
static int _snd_pcm_hw_param_first(struct snd_pcm_hw_params *params, static int _snd_pcm_hw_param_first(struct snd_pcm_hw_params *params,
...@@ -1651,7 +1634,6 @@ int snd_pcm_hw_param_first(struct snd_pcm_substream *pcm, ...@@ -1651,7 +1634,6 @@ int snd_pcm_hw_param_first(struct snd_pcm_substream *pcm,
} }
return snd_pcm_hw_param_value(params, var, dir); return snd_pcm_hw_param_value(params, var, dir);
} }
EXPORT_SYMBOL(snd_pcm_hw_param_first); EXPORT_SYMBOL(snd_pcm_hw_param_first);
static int _snd_pcm_hw_param_last(struct snd_pcm_hw_params *params, static int _snd_pcm_hw_param_last(struct snd_pcm_hw_params *params,
...@@ -1698,7 +1680,6 @@ int snd_pcm_hw_param_last(struct snd_pcm_substream *pcm, ...@@ -1698,7 +1680,6 @@ int snd_pcm_hw_param_last(struct snd_pcm_substream *pcm,
} }
return snd_pcm_hw_param_value(params, var, dir); return snd_pcm_hw_param_value(params, var, dir);
} }
EXPORT_SYMBOL(snd_pcm_hw_param_last); EXPORT_SYMBOL(snd_pcm_hw_param_last);
static int snd_pcm_lib_ioctl_reset(struct snd_pcm_substream *substream, static int snd_pcm_lib_ioctl_reset(struct snd_pcm_substream *substream,
...@@ -1796,7 +1777,6 @@ int snd_pcm_lib_ioctl(struct snd_pcm_substream *substream, ...@@ -1796,7 +1777,6 @@ int snd_pcm_lib_ioctl(struct snd_pcm_substream *substream,
} }
return -ENXIO; return -ENXIO;
} }
EXPORT_SYMBOL(snd_pcm_lib_ioctl); EXPORT_SYMBOL(snd_pcm_lib_ioctl);
/** /**
...@@ -1832,7 +1812,6 @@ void snd_pcm_period_elapsed(struct snd_pcm_substream *substream) ...@@ -1832,7 +1812,6 @@ void snd_pcm_period_elapsed(struct snd_pcm_substream *substream)
kill_fasync(&runtime->fasync, SIGIO, POLL_IN); kill_fasync(&runtime->fasync, SIGIO, POLL_IN);
snd_pcm_stream_unlock_irqrestore(substream, flags); snd_pcm_stream_unlock_irqrestore(substream, flags);
} }
EXPORT_SYMBOL(snd_pcm_period_elapsed); EXPORT_SYMBOL(snd_pcm_period_elapsed);
/* /*
......
...@@ -120,7 +120,6 @@ int snd_pcm_lib_preallocate_free_for_all(struct snd_pcm *pcm) ...@@ -120,7 +120,6 @@ int snd_pcm_lib_preallocate_free_for_all(struct snd_pcm *pcm)
snd_pcm_lib_preallocate_free(substream); snd_pcm_lib_preallocate_free(substream);
return 0; return 0;
} }
EXPORT_SYMBOL(snd_pcm_lib_preallocate_free_for_all); EXPORT_SYMBOL(snd_pcm_lib_preallocate_free_for_all);
#ifdef CONFIG_SND_VERBOSE_PROCFS #ifdef CONFIG_SND_VERBOSE_PROCFS
...@@ -263,7 +262,6 @@ int snd_pcm_lib_preallocate_pages(struct snd_pcm_substream *substream, ...@@ -263,7 +262,6 @@ int snd_pcm_lib_preallocate_pages(struct snd_pcm_substream *substream,
substream->dma_buffer.dev.dev = data; substream->dma_buffer.dev.dev = data;
return snd_pcm_lib_preallocate_pages1(substream, size, max); return snd_pcm_lib_preallocate_pages1(substream, size, max);
} }
EXPORT_SYMBOL(snd_pcm_lib_preallocate_pages); EXPORT_SYMBOL(snd_pcm_lib_preallocate_pages);
/** /**
...@@ -292,7 +290,6 @@ int snd_pcm_lib_preallocate_pages_for_all(struct snd_pcm *pcm, ...@@ -292,7 +290,6 @@ int snd_pcm_lib_preallocate_pages_for_all(struct snd_pcm *pcm,
return err; return err;
return 0; return 0;
} }
EXPORT_SYMBOL(snd_pcm_lib_preallocate_pages_for_all); EXPORT_SYMBOL(snd_pcm_lib_preallocate_pages_for_all);
#ifdef CONFIG_SND_DMA_SGBUF #ifdef CONFIG_SND_DMA_SGBUF
...@@ -314,7 +311,6 @@ struct page *snd_pcm_sgbuf_ops_page(struct snd_pcm_substream *substream, unsigne ...@@ -314,7 +311,6 @@ struct page *snd_pcm_sgbuf_ops_page(struct snd_pcm_substream *substream, unsigne
return NULL; return NULL;
return sgbuf->page_table[idx]; return sgbuf->page_table[idx];
} }
EXPORT_SYMBOL(snd_pcm_sgbuf_ops_page); EXPORT_SYMBOL(snd_pcm_sgbuf_ops_page);
#endif /* CONFIG_SND_DMA_SGBUF */ #endif /* CONFIG_SND_DMA_SGBUF */
...@@ -370,7 +366,6 @@ int snd_pcm_lib_malloc_pages(struct snd_pcm_substream *substream, size_t size) ...@@ -370,7 +366,6 @@ int snd_pcm_lib_malloc_pages(struct snd_pcm_substream *substream, size_t size)
runtime->dma_bytes = size; runtime->dma_bytes = size;
return 1; /* area was changed */ return 1; /* area was changed */
} }
EXPORT_SYMBOL(snd_pcm_lib_malloc_pages); EXPORT_SYMBOL(snd_pcm_lib_malloc_pages);
/** /**
...@@ -398,7 +393,6 @@ int snd_pcm_lib_free_pages(struct snd_pcm_substream *substream) ...@@ -398,7 +393,6 @@ int snd_pcm_lib_free_pages(struct snd_pcm_substream *substream)
snd_pcm_set_runtime_buffer(substream, NULL); snd_pcm_set_runtime_buffer(substream, NULL);
return 0; return 0;
} }
EXPORT_SYMBOL(snd_pcm_lib_free_pages); EXPORT_SYMBOL(snd_pcm_lib_free_pages);
int _snd_pcm_lib_alloc_vmalloc_buffer(struct snd_pcm_substream *substream, int _snd_pcm_lib_alloc_vmalloc_buffer(struct snd_pcm_substream *substream,
......
...@@ -248,7 +248,6 @@ int snd_pcm_format_signed(snd_pcm_format_t format) ...@@ -248,7 +248,6 @@ int snd_pcm_format_signed(snd_pcm_format_t format)
return -EINVAL; return -EINVAL;
return val; return val;
} }
EXPORT_SYMBOL(snd_pcm_format_signed); EXPORT_SYMBOL(snd_pcm_format_signed);
/** /**
...@@ -267,7 +266,6 @@ int snd_pcm_format_unsigned(snd_pcm_format_t format) ...@@ -267,7 +266,6 @@ int snd_pcm_format_unsigned(snd_pcm_format_t format)
return val; return val;
return !val; return !val;
} }
EXPORT_SYMBOL(snd_pcm_format_unsigned); EXPORT_SYMBOL(snd_pcm_format_unsigned);
/** /**
...@@ -280,7 +278,6 @@ int snd_pcm_format_linear(snd_pcm_format_t format) ...@@ -280,7 +278,6 @@ int snd_pcm_format_linear(snd_pcm_format_t format)
{ {
return snd_pcm_format_signed(format) >= 0; return snd_pcm_format_signed(format) >= 0;
} }
EXPORT_SYMBOL(snd_pcm_format_linear); EXPORT_SYMBOL(snd_pcm_format_linear);
/** /**
...@@ -299,7 +296,6 @@ int snd_pcm_format_little_endian(snd_pcm_format_t format) ...@@ -299,7 +296,6 @@ int snd_pcm_format_little_endian(snd_pcm_format_t format)
return -EINVAL; return -EINVAL;
return val; return val;
} }
EXPORT_SYMBOL(snd_pcm_format_little_endian); EXPORT_SYMBOL(snd_pcm_format_little_endian);
/** /**
...@@ -318,7 +314,6 @@ int snd_pcm_format_big_endian(snd_pcm_format_t format) ...@@ -318,7 +314,6 @@ int snd_pcm_format_big_endian(snd_pcm_format_t format)
return val; return val;
return !val; return !val;
} }
EXPORT_SYMBOL(snd_pcm_format_big_endian); EXPORT_SYMBOL(snd_pcm_format_big_endian);
/** /**
...@@ -337,7 +332,6 @@ int snd_pcm_format_width(snd_pcm_format_t format) ...@@ -337,7 +332,6 @@ int snd_pcm_format_width(snd_pcm_format_t format)
return -EINVAL; return -EINVAL;
return val; return val;
} }
EXPORT_SYMBOL(snd_pcm_format_width); EXPORT_SYMBOL(snd_pcm_format_width);
/** /**
...@@ -356,7 +350,6 @@ int snd_pcm_format_physical_width(snd_pcm_format_t format) ...@@ -356,7 +350,6 @@ int snd_pcm_format_physical_width(snd_pcm_format_t format)
return -EINVAL; return -EINVAL;
return val; return val;
} }
EXPORT_SYMBOL(snd_pcm_format_physical_width); EXPORT_SYMBOL(snd_pcm_format_physical_width);
/** /**
...@@ -374,7 +367,6 @@ ssize_t snd_pcm_format_size(snd_pcm_format_t format, size_t samples) ...@@ -374,7 +367,6 @@ ssize_t snd_pcm_format_size(snd_pcm_format_t format, size_t samples)
return -EINVAL; return -EINVAL;
return samples * phys_width / 8; return samples * phys_width / 8;
} }
EXPORT_SYMBOL(snd_pcm_format_size); EXPORT_SYMBOL(snd_pcm_format_size);
/** /**
...@@ -391,7 +383,6 @@ const unsigned char *snd_pcm_format_silence_64(snd_pcm_format_t format) ...@@ -391,7 +383,6 @@ const unsigned char *snd_pcm_format_silence_64(snd_pcm_format_t format)
return NULL; return NULL;
return pcm_formats[(INT)format].silence; return pcm_formats[(INT)format].silence;
} }
EXPORT_SYMBOL(snd_pcm_format_silence_64); EXPORT_SYMBOL(snd_pcm_format_silence_64);
/** /**
...@@ -462,7 +453,6 @@ int snd_pcm_format_set_silence(snd_pcm_format_t format, void *data, unsigned int ...@@ -462,7 +453,6 @@ int snd_pcm_format_set_silence(snd_pcm_format_t format, void *data, unsigned int
#endif #endif
return 0; return 0;
} }
EXPORT_SYMBOL(snd_pcm_format_set_silence); EXPORT_SYMBOL(snd_pcm_format_set_silence);
/** /**
...@@ -491,7 +481,6 @@ int snd_pcm_limit_hw_rates(struct snd_pcm_runtime *runtime) ...@@ -491,7 +481,6 @@ int snd_pcm_limit_hw_rates(struct snd_pcm_runtime *runtime)
} }
return 0; return 0;
} }
EXPORT_SYMBOL(snd_pcm_limit_hw_rates); EXPORT_SYMBOL(snd_pcm_limit_hw_rates);
/** /**
......
...@@ -1278,7 +1278,6 @@ int snd_pcm_stop(struct snd_pcm_substream *substream, snd_pcm_state_t state) ...@@ -1278,7 +1278,6 @@ int snd_pcm_stop(struct snd_pcm_substream *substream, snd_pcm_state_t state)
{ {
return snd_pcm_action(&snd_pcm_action_stop, substream, state); return snd_pcm_action(&snd_pcm_action_stop, substream, state);
} }
EXPORT_SYMBOL(snd_pcm_stop); EXPORT_SYMBOL(snd_pcm_stop);
/** /**
...@@ -1453,7 +1452,6 @@ int snd_pcm_suspend(struct snd_pcm_substream *substream) ...@@ -1453,7 +1452,6 @@ int snd_pcm_suspend(struct snd_pcm_substream *substream)
snd_pcm_stream_unlock_irqrestore(substream, flags); snd_pcm_stream_unlock_irqrestore(substream, flags);
return err; return err;
} }
EXPORT_SYMBOL(snd_pcm_suspend); EXPORT_SYMBOL(snd_pcm_suspend);
/** /**
...@@ -1485,7 +1483,6 @@ int snd_pcm_suspend_all(struct snd_pcm *pcm) ...@@ -1485,7 +1483,6 @@ int snd_pcm_suspend_all(struct snd_pcm *pcm)
} }
return 0; return 0;
} }
EXPORT_SYMBOL(snd_pcm_suspend_all); EXPORT_SYMBOL(snd_pcm_suspend_all);
/* resume */ /* resume */
...@@ -2369,7 +2366,6 @@ void snd_pcm_release_substream(struct snd_pcm_substream *substream) ...@@ -2369,7 +2366,6 @@ void snd_pcm_release_substream(struct snd_pcm_substream *substream)
} }
snd_pcm_detach_substream(substream); snd_pcm_detach_substream(substream);
} }
EXPORT_SYMBOL(snd_pcm_release_substream); EXPORT_SYMBOL(snd_pcm_release_substream);
int snd_pcm_open_substream(struct snd_pcm *pcm, int stream, int snd_pcm_open_substream(struct snd_pcm *pcm, int stream,
...@@ -2411,7 +2407,6 @@ int snd_pcm_open_substream(struct snd_pcm *pcm, int stream, ...@@ -2411,7 +2407,6 @@ int snd_pcm_open_substream(struct snd_pcm *pcm, int stream,
snd_pcm_release_substream(substream); snd_pcm_release_substream(substream);
return err; return err;
} }
EXPORT_SYMBOL(snd_pcm_open_substream); EXPORT_SYMBOL(snd_pcm_open_substream);
static int snd_pcm_open_file(struct file *file, static int snd_pcm_open_file(struct file *file,
...@@ -3504,7 +3499,6 @@ int snd_pcm_lib_mmap_iomem(struct snd_pcm_substream *substream, ...@@ -3504,7 +3499,6 @@ int snd_pcm_lib_mmap_iomem(struct snd_pcm_substream *substream,
area->vm_page_prot = pgprot_noncached(area->vm_page_prot); area->vm_page_prot = pgprot_noncached(area->vm_page_prot);
return vm_iomap_memory(area, runtime->dma_addr, runtime->dma_bytes); return vm_iomap_memory(area, runtime->dma_addr, runtime->dma_bytes);
} }
EXPORT_SYMBOL(snd_pcm_lib_mmap_iomem); EXPORT_SYMBOL(snd_pcm_lib_mmap_iomem);
#endif /* SNDRV_PCM_INFO_MMAP */ #endif /* SNDRV_PCM_INFO_MMAP */
...@@ -3553,7 +3547,6 @@ int snd_pcm_mmap_data(struct snd_pcm_substream *substream, struct file *file, ...@@ -3553,7 +3547,6 @@ int snd_pcm_mmap_data(struct snd_pcm_substream *substream, struct file *file,
atomic_inc(&substream->mmap_count); atomic_inc(&substream->mmap_count);
return err; return err;
} }
EXPORT_SYMBOL(snd_pcm_mmap_data); EXPORT_SYMBOL(snd_pcm_mmap_data);
static int snd_pcm_mmap(struct file *file, struct vm_area_struct *area) static int snd_pcm_mmap(struct file *file, struct vm_area_struct *area)
......
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