]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - arch/powerpc/kernel/of_platform.c
Merge branch 'x86-mm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[mv-sheeva.git] / arch / powerpc / kernel / of_platform.c
index 1a4fc0d11a031706ab19018959074ea6fbbfc4f7..666d08db319e313f87c0d1c975a267461df51ca2 100644 (file)
@@ -214,7 +214,7 @@ EXPORT_SYMBOL(of_find_device_by_node);
 static int of_dev_phandle_match(struct device *dev, void *data)
 {
        phandle *ph = data;
-       return to_of_device(dev)->node->linux_phandle == *ph;
+       return to_of_device(dev)->node->phandle == *ph;
 }
 
 struct of_device *of_find_device_by_phandle(phandle ph)