[POWERPC] Rename get_property to of_get_property: sound
[powerpc.git] / sound / oss / dmasound / tas_common.c
index 5e2c0ae..1125760 100644 (file)
@@ -200,7 +200,7 @@ tas_init(int driver_id, const char *driver_name)
        tas_node = find_devices("deq");
        if (tas_node == NULL)
                return -ENODEV;
-       paddr = get_property(tas_node, "i2c-address", NULL);
+       paddr = of_get_property(tas_node, "i2c-address", NULL);
        if (paddr) {
                tas_i2c_address = (*paddr) >> 1;
                printk(KERN_INFO "using i2c address: 0x%x from device-tree\n",