of: Always use 'struct device.of_node' to get device node pointer.
[safe/jmp/linux-2.6] / sound / soc / fsl / mpc5200_psc_i2s.c
index ce8de90..748cc0f 100644 (file)
@@ -181,7 +181,7 @@ static int __devinit psc_i2s_of_probe(struct of_device *op,
 
        /* Check for the codec handle.  If it is not present then we
         * are done */
-       if (!of_get_property(op->node, "codec-handle", NULL))
+       if (!of_get_property(op->dev.of_node, "codec-handle", NULL))
                return 0;
 
        /* Due to errata in the dma mode; need to line up enabling