dm: rename device struct to udevice
[platform/kernel/u-boot.git] / drivers / core / root.c
index 407bc0d..4977875 100644 (file)
@@ -24,7 +24,7 @@ static const struct driver_info root_info = {
        .name           = "root_driver",
 };
 
-struct device *dm_root(void)
+struct udevice *dm_root(void)
 {
        if (!gd->dm_root) {
                dm_warn("Virtual root driver does not exist!\n");