|
@@ -52,6 +52,11 @@ static int snd_soc_dapm_add_path(struct snd_soc_dapm_context *dapm,
|
|
const char *control,
|
|
const char *control,
|
|
int (*connected)(struct snd_soc_dapm_widget *source,
|
|
int (*connected)(struct snd_soc_dapm_widget *source,
|
|
struct snd_soc_dapm_widget *sink));
|
|
struct snd_soc_dapm_widget *sink));
|
|
|
|
+
|
|
|
|
+static struct snd_soc_dapm_widget *
|
|
|
|
+snd_soc_dapm_new_control(struct snd_soc_dapm_context *dapm,
|
|
|
|
+ const struct snd_soc_dapm_widget *widget);
|
|
|
|
+
|
|
struct snd_soc_dapm_widget *
|
|
struct snd_soc_dapm_widget *
|
|
snd_soc_dapm_new_control_unlocked(struct snd_soc_dapm_context *dapm,
|
|
snd_soc_dapm_new_control_unlocked(struct snd_soc_dapm_context *dapm,
|
|
const struct snd_soc_dapm_widget *widget);
|
|
const struct snd_soc_dapm_widget *widget);
|
|
@@ -3265,7 +3270,7 @@ int snd_soc_dapm_put_pin_switch(struct snd_kcontrol *kcontrol,
|
|
}
|
|
}
|
|
EXPORT_SYMBOL_GPL(snd_soc_dapm_put_pin_switch);
|
|
EXPORT_SYMBOL_GPL(snd_soc_dapm_put_pin_switch);
|
|
|
|
|
|
-struct snd_soc_dapm_widget *
|
|
|
|
|
|
+static struct snd_soc_dapm_widget *
|
|
snd_soc_dapm_new_control(struct snd_soc_dapm_context *dapm,
|
|
snd_soc_dapm_new_control(struct snd_soc_dapm_context *dapm,
|
|
const struct snd_soc_dapm_widget *widget)
|
|
const struct snd_soc_dapm_widget *widget)
|
|
{
|
|
{
|