Skip to content

Commit

Permalink
ALSA: tosa: fix compilation with new DAPM API
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
  • Loading branch information
Dmitry Baryshkov authored and Jaroslav Kysela committed Jul 10, 2008
1 parent af13452 commit 76d39d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sound/soc/pxa/tosa.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"},
Expand Down Expand Up @@ -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 */
Expand Down

0 comments on commit 76d39d0

Please sign in to comment.