]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - sound/soc/fsl/imx-wm8962.c
Merge remote-tracking branch 'sound-asoc/for-next'
[karo-tx-linux.git] / sound / soc / fsl / imx-wm8962.c
index 6c6066618f3bba119f32480ef59e9253be2834b5..f84ecbfd1238701326e1e69a53770148b55e3a83 100644 (file)
@@ -215,7 +215,7 @@ static int imx_wm8962_probe(struct platform_device *pdev)
                goto fail;
        }
        codec_dev = of_find_i2c_device_by_node(codec_np);
-       if (!codec_dev || !codec_dev->driver) {
+       if (!codec_dev || !codec_dev->dev.driver) {
                dev_err(&pdev->dev, "failed to find codec platform device\n");
                ret = -EINVAL;
                goto fail;