[S390] hvc_iucv: Refactor console and device initialization
authorHendrik Brueckner <brueckner@linux.vnet.ibm.com>
Fri, 9 Jan 2009 11:15:00 +0000 (12:15 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 9 Jan 2009 11:15:09 +0000 (12:15 +0100)
commit68c6b3d2c6e49671f6974c9c5ea31c5f190cc8a5
tree40a97851a9c65fc5f70071c7d915c5fc97eb4dff
parent17e19f04ac73df05854ba2e7e945d51c494a3011
[S390] hvc_iucv: Refactor console and device initialization

The console_initcall() order might pick up the hvc_iucv device as preferred
console even if it is not yet initialized.
Move HVC console instantiation to hvc_iucv_init() and cleanup device driver
initialization.

Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/char/hvc_iucv.c