diff options
-rw-r--r-- | sound/soc/codecs/cq93vc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/cq93vc.c b/sound/soc/codecs/cq93vc.c index 5ee48c8e4849..537327c7f7f1 100644 --- a/sound/soc/codecs/cq93vc.c +++ b/sound/soc/codecs/cq93vc.c @@ -154,7 +154,7 @@ static int cq93vc_remove(struct snd_soc_codec *codec) static struct regmap *cq93vc_get_regmap(struct device *dev) { - struct davinci_vc *davinci_vc = codec->dev->platform_data; + struct davinci_vc *davinci_vc = dev->platform_data; return davinci_vc->regmap; } |