diff options
Diffstat (limited to 'drivers/char/hvc_tile.c')
| -rw-r--r-- | drivers/char/hvc_tile.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/char/hvc_tile.c b/drivers/char/hvc_tile.c index c4efb55cbc03..7a84a0595477 100644 --- a/drivers/char/hvc_tile.c +++ b/drivers/char/hvc_tile.c | |||
| @@ -61,7 +61,8 @@ console_initcall(hvc_tile_console_init); | |||
| 61 | 61 | ||
| 62 | static int __init hvc_tile_init(void) | 62 | static int __init hvc_tile_init(void) |
| 63 | { | 63 | { |
| 64 | hvc_alloc(0, 0, &hvc_tile_get_put_ops, 128); | 64 | struct hvc_struct *s; |
| 65 | return 0; | 65 | s = hvc_alloc(0, 0, &hvc_tile_get_put_ops, 128); |
| 66 | return IS_ERR(s) ? PTR_ERR(s) : 0; | ||
| 66 | } | 67 | } |
| 67 | device_initcall(hvc_tile_init); | 68 | device_initcall(hvc_tile_init); |
