From c80fb5e29fdab06762763d528d7954bfa1fc0721 Mon Sep 17 00:00:00 2001 From: Vasiliy Kulikov Date: Sun, 12 Sep 2010 22:57:14 +0400 Subject: [PATCH] --- yaml --- r: 217609 b: refs/heads/master c: 6496a5c9e7ccc4e2ec34c09d04a819f8fdc29981 h: refs/heads/master i: 217607: bb5ef868842026ea99e813f4da1e7a7280c96dcf v: v3 --- [refs] | 2 +- trunk/drivers/char/hvc_tile.c | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index eed7603b2451..3e06eaf8c27f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 77d233036ea886398770f208aa22235acf0d011c +refs/heads/master: 6496a5c9e7ccc4e2ec34c09d04a819f8fdc29981 diff --git a/trunk/drivers/char/hvc_tile.c b/trunk/drivers/char/hvc_tile.c index c4efb55cbc03..7a84a0595477 100644 --- a/trunk/drivers/char/hvc_tile.c +++ b/trunk/drivers/char/hvc_tile.c @@ -61,7 +61,8 @@ console_initcall(hvc_tile_console_init); static int __init hvc_tile_init(void) { - hvc_alloc(0, 0, &hvc_tile_get_put_ops, 128); - return 0; + struct hvc_struct *s; + s = hvc_alloc(0, 0, &hvc_tile_get_put_ops, 128); + return IS_ERR(s) ? PTR_ERR(s) : 0; } device_initcall(hvc_tile_init);