X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=sound%2Fsoc%2Fomap%2Fomap-twl4030.c;fp=sound%2Fsoc%2Fomap%2Fomap-twl4030.c;h=743131473056f5116e745db22ff17fe003c0d979;hb=4570a37169d4b44d316f40b2ccc681dc93fedc7b;hp=3673ada43bfb244fd7a17f90e7bc420e7e020ed1;hpb=f7b08217c755e88a29b5bd53b4a1d10cd8b3c5f8;p=uclinux-h8%2Flinux.git diff --git a/sound/soc/omap/omap-twl4030.c b/sound/soc/omap/omap-twl4030.c index 3673ada43bfb..743131473056 100644 --- a/sound/soc/omap/omap-twl4030.c +++ b/sound/soc/omap/omap-twl4030.c @@ -159,9 +159,8 @@ static inline void twl4030_disconnect_pin(struct snd_soc_dapm_context *dapm, static int omap_twl4030_init(struct snd_soc_pcm_runtime *rtd) { - struct snd_soc_codec *codec = rtd->codec; struct snd_soc_card *card = rtd->card; - struct snd_soc_dapm_context *dapm = &codec->dapm; + struct snd_soc_dapm_context *dapm = &card->dapm; struct omap_tw4030_pdata *pdata = dev_get_platdata(card->dev); struct omap_twl4030 *priv = snd_soc_card_get_drvdata(card); int ret = 0;