diff options
Diffstat (limited to 'sound/soc/codecs/uda134x.c')
-rw-r--r-- | sound/soc/codecs/uda134x.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/codecs/uda134x.c b/sound/soc/codecs/uda134x.c index e76847a9438b..48ffd406a71d 100644 --- a/sound/soc/codecs/uda134x.c +++ b/sound/soc/codecs/uda134x.c | |||
@@ -486,7 +486,8 @@ static struct snd_soc_dai_driver uda134x_dai = { | |||
486 | static int uda134x_soc_probe(struct snd_soc_codec *codec) | 486 | static int uda134x_soc_probe(struct snd_soc_codec *codec) |
487 | { | 487 | { |
488 | struct uda134x_priv *uda134x; | 488 | struct uda134x_priv *uda134x; |
489 | struct uda134x_platform_data *pd = dev_get_drvdata(codec->card->dev); | 489 | struct uda134x_platform_data *pd = codec->card->dev->platform_data; |
490 | |||
490 | int ret; | 491 | int ret; |
491 | 492 | ||
492 | printk(KERN_INFO "UDA134X SoC Audio Codec\n"); | 493 | printk(KERN_INFO "UDA134X SoC Audio Codec\n"); |