]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - arch/microblaze/kernel/of_platform.c
of/platform: remove all of_bus_type and of_platform_bus_type references
[net-next-2.6.git] / arch / microblaze / kernel / of_platform.c
index fb28661043311fcdaf5f9a838af1b902922082f6..80c9c493cb25a91dc02e6efaa0dd6cbda200ee0d 100644 (file)
@@ -57,8 +57,7 @@ struct of_device *of_find_device_by_node(struct device_node *np)
 {
        struct device *dev;
 
-       dev = bus_find_device(&of_platform_bus_type,
-                             NULL, np, of_dev_node_match);
+       dev = bus_find_device(&platform_bus_type, NULL, np, of_dev_node_match);
        if (dev)
                return to_of_device(dev);
        return NULL;