Merge tag 'stable/for-linus-3.8-rc7-tag-two' of git://git.kernel.org/pub/scm/linux...
[firefly-linux-kernel-4.4.55.git] / drivers / macintosh / smu.c
index 196368009001196f08f103a39c9786d93f335751..9c6b964148628db7d626c2b5962ccc6b159c8aa8 100644 (file)
@@ -997,7 +997,7 @@ static struct smu_sdbp_header *smu_create_sdb_partition(int id)
                       "%02x !\n", id, hdr->id);
                goto failure;
        }
-       if (prom_add_property(smu->of_node, prop)) {
+       if (of_add_property(smu->of_node, prop)) {
                printk(KERN_DEBUG "SMU: Failed creating sdb-partition-%02x "
                       "property !\n", id);
                goto failure;