]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/hvc_vio.c
Driver core: exclude kobject_uevent.c for !CONFIG_HOTPLUG
[linux-2.6-omap-h63xx.git] / drivers / char / hvc_vio.c
index f9c00844d2bfe9250448e0436421085f4b220d8a..79711aa4b41d4ae85de49cf8bddad9a0c50ded18 100644 (file)
@@ -153,11 +153,11 @@ static int hvc_find_vtys(void)
                if (num_found >= MAX_NR_HVC_CONSOLES)
                        break;
 
-               vtermno = get_property(vty, "reg", NULL);
+               vtermno = of_get_property(vty, "reg", NULL);
                if (!vtermno)
                        continue;
 
-               if (device_is_compatible(vty, "hvterm1")) {
+               if (of_device_is_compatible(vty, "hvterm1")) {
                        hvc_instantiate(*vtermno, num_found, &hvc_get_put_ops);
                        ++num_found;
                }