of: Always use 'struct device.of_node' to get device node pointer.
[pandora-kernel.git] / sound / aoa / fabrics / layout.c
index 1cd9b30..3fd1a7e 100644 (file)
@@ -992,7 +992,7 @@ static int aoa_fabric_layout_probe(struct soundbus_dev *sdev)
                return -ENODEV;
 
        /* by breaking out we keep a reference */
-       while ((sound = of_get_next_child(sdev->ofdev.node, sound))) {
+       while ((sound = of_get_next_child(sdev->ofdev.dev.of_node, sound))) {
                if (sound->type && strcasecmp(sound->type, "soundchip") == 0)
                        break;
        }