summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/imx-wm8958.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/fsl/imx-wm8958.c')
-rw-r--r--sound/soc/fsl/imx-wm8958.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/imx-wm8958.c b/sound/soc/fsl/imx-wm8958.c
index 74486f0dded9..047bdf9e70bb 100644
--- a/sound/soc/fsl/imx-wm8958.c
+++ b/sound/soc/fsl/imx-wm8958.c
@@ -403,7 +403,7 @@ static int imx_wm8958_set_bias_level_post(struct snd_soc_card *card,
static int imx_wm8958_probe(struct platform_device *pdev)
{
- struct device_node *cpu_np, *codec_np, *gpr_np;
+ struct device_node *cpu_np, *codec_np = NULL, *gpr_np;
struct device_node *np = pdev->dev.of_node;
struct platform_device *cpu_pdev;
struct imx_priv *priv = &card_priv;