| Index: sound/soc/codecs/cq93vc.c
|
| diff --git a/sound/soc/codecs/cq93vc.c b/sound/soc/codecs/cq93vc.c
|
| index 823643932dde2eb6208fd290f90254a2416e29bc..347a567b01e16e6a8a3eb370c6d8cba5ac1af914 100644
|
| --- a/sound/soc/codecs/cq93vc.c
|
| +++ b/sound/soc/codecs/cq93vc.c
|
| @@ -36,8 +36,6 @@
|
| #include <sound/pcm.h>
|
| #include <sound/pcm_params.h>
|
| #include <sound/soc.h>
|
| -#include <sound/soc-dai.h>
|
| -#include <sound/soc-dapm.h>
|
| #include <sound/initval.h>
|
|
|
| #include <mach/dm365.h>
|
| @@ -116,7 +114,7 @@ static int cq93vc_set_bias_level(struct snd_soc_codec *codec,
|
| DAVINCI_VC_REG12_POWER_ALL_OFF);
|
| break;
|
| }
|
| - codec->bias_level = level;
|
| + codec->dapm.bias_level = level;
|
|
|
| return 0;
|
| }
|
| @@ -155,7 +153,7 @@ static int cq93vc_resume(struct snd_soc_codec *codec)
|
|
|
| static int cq93vc_probe(struct snd_soc_codec *codec)
|
| {
|
| - struct davinci_vc *davinci_vc = codec->dev->platform_data;
|
| + struct davinci_vc *davinci_vc = snd_soc_codec_get_drvdata(codec);
|
|
|
| davinci_vc->cq93vc.codec = codec;
|
| codec->control_data = davinci_vc;
|
|
|