of: Always use 'struct device.of_node' to get device node pointer.
[safe/jmp/linux-2.6] / sound / aoa / soundbus / i2sbus / control.c
index 47f854c..4dc9b49 100644 (file)
@@ -42,7 +42,7 @@ int i2sbus_control_add_dev(struct i2sbus_control *c,
 {
        struct device_node *np;
 
-       np = i2sdev->sound.ofdev.node;
+       np = i2sdev->sound.ofdev.dev.of_node;
        i2sdev->enable = pmf_find_function(np, "enable");
        i2sdev->cell_enable = pmf_find_function(np, "cell-enable");
        i2sdev->clock_enable = pmf_find_function(np, "clock-enable");