Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 76d39d0a authored by Dmitry Eremin-Solenikov's avatar Dmitry Eremin-Solenikov Committed by Jaroslav Kysela
Browse files

ALSA: tosa: fix compilation with new DAPM API

parent af134528
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -153,7 +153,7 @@ SND_SOC_DAPM_SPK("Speaker", NULL),
};

/* tosa audio map */
static const snd_soc_dapm_route audio_map[] = {
static const struct snd_soc_dapm_route audio_map[] = {

	/* headphone connected to HPOUTL, HPOUTR */
	{"Headphone Jack", NULL, "HPOUTL"},
@@ -205,7 +205,7 @@ static int tosa_ac97_init(struct snd_soc_codec *codec)
	}

	/* add tosa specific widgets */
	snd_soc_dapm_new_controls(codec, &tosa_dapm_widgets,
	snd_soc_dapm_new_controls(codec, tosa_dapm_widgets,
				  ARRAY_SIZE(tosa_dapm_widgets));

	/* set up tosa specific audio path audio_map */