diff options
Diffstat (limited to 'drivers/char/hvc_vio.c')
-rw-r--r-- | drivers/char/hvc_vio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/hvc_vio.c b/drivers/char/hvc_vio.c index 94a542e20efb..79711aa4b41d 100644 --- a/drivers/char/hvc_vio.c +++ b/drivers/char/hvc_vio.c | |||
@@ -157,7 +157,7 @@ static int hvc_find_vtys(void) | |||
157 | if (!vtermno) | 157 | if (!vtermno) |
158 | continue; | 158 | continue; |
159 | 159 | ||
160 | if (device_is_compatible(vty, "hvterm1")) { | 160 | if (of_device_is_compatible(vty, "hvterm1")) { |
161 | hvc_instantiate(*vtermno, num_found, &hvc_get_put_ops); | 161 | hvc_instantiate(*vtermno, num_found, &hvc_get_put_ops); |
162 | ++num_found; | 162 | ++num_found; |
163 | } | 163 | } |