提交 63079b6e 编写于 作者: C Charles Keepax 提交者: Mark Brown

ASoC: wm_adsp: Remove redundant extern declarations

Functions are given external linkage by default making the extern's
unnecessary, as such remove them.
Signed-off-by: NCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 73950715
...@@ -110,18 +110,17 @@ int wm_adsp2_early_event(struct snd_soc_dapm_widget *w, ...@@ -110,18 +110,17 @@ int wm_adsp2_early_event(struct snd_soc_dapm_widget *w,
int wm_adsp2_event(struct snd_soc_dapm_widget *w, int wm_adsp2_event(struct snd_soc_dapm_widget *w,
struct snd_kcontrol *kcontrol, int event); struct snd_kcontrol *kcontrol, int event);
extern int wm_adsp_compr_open(struct wm_adsp *dsp, int wm_adsp_compr_open(struct wm_adsp *dsp, struct snd_compr_stream *stream);
struct snd_compr_stream *stream); int wm_adsp_compr_free(struct snd_compr_stream *stream);
extern int wm_adsp_compr_free(struct snd_compr_stream *stream); int wm_adsp_compr_set_params(struct snd_compr_stream *stream,
extern int wm_adsp_compr_set_params(struct snd_compr_stream *stream, struct snd_compr_params *params);
struct snd_compr_params *params); int wm_adsp_compr_get_caps(struct snd_compr_stream *stream,
extern int wm_adsp_compr_get_caps(struct snd_compr_stream *stream, struct snd_compr_caps *caps);
struct snd_compr_caps *caps); int wm_adsp_compr_trigger(struct snd_compr_stream *stream, int cmd);
extern int wm_adsp_compr_trigger(struct snd_compr_stream *stream, int cmd); int wm_adsp_compr_handle_irq(struct wm_adsp *dsp);
extern int wm_adsp_compr_handle_irq(struct wm_adsp *dsp); int wm_adsp_compr_pointer(struct snd_compr_stream *stream,
extern int wm_adsp_compr_pointer(struct snd_compr_stream *stream, struct snd_compr_tstamp *tstamp);
struct snd_compr_tstamp *tstamp); int wm_adsp_compr_copy(struct snd_compr_stream *stream,
extern int wm_adsp_compr_copy(struct snd_compr_stream *stream, char __user *buf, size_t count);
char __user *buf, size_t count);
#endif #endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册