Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab...
[pandora-kernel.git] / sound / soc / codecs / wl1273.c
index 5836201..c8a874d 100644 (file)
@@ -441,7 +441,8 @@ EXPORT_SYMBOL_GPL(wl1273_get_format);
 
 static int wl1273_probe(struct snd_soc_codec *codec)
 {
-       struct wl1273_core **core = codec->dev->platform_data;
+       struct wl1273_core **core =
+                       mfd_get_data(to_platform_device(codec->dev));
        struct wl1273_priv *wl1273;
        int r;