X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fchar%2Fhvc_vio.c;h=79711aa4b41d4ae85de49cf8bddad9a0c50ded18;hb=84df87b7ebdcbbc0f59df9526f4e63fda70647d3;hp=f9c00844d2bfe9250448e0436421085f4b220d8a;hpb=ab8e823515305a93715e71b81efcbe27c6ce0f59;p=linux-2.6 diff --git a/drivers/char/hvc_vio.c b/drivers/char/hvc_vio.c index f9c00844d2..79711aa4b4 100644 --- a/drivers/char/hvc_vio.c +++ b/drivers/char/hvc_vio.c @@ -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; }