serial: clps711x: Convert all static variables to dynamic
authorAlexander Shiyan <shc_work@mail.ru>
Sun, 14 Oct 2012 07:05:24 +0000 (11:05 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Oct 2012 18:39:47 +0000 (11:39 -0700)
commit117d5d424a1ee7aedaf6ad8b0ba6eff163c57815
tree315be11a2597c1918509bf157815976eddec671a
parent95113728f03cc6775ae895133c7fc420221cc8a4
serial: clps711x: Convert all static variables to dynamic

This patch converts all static variables of clps711x serial driver
to dynamic allocating. In this case we are should remove console_initcall()
and declare console during driver registration. Early kernel messages can
be retrieved by add "earlyprintk" option to the kernel command line.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/clps711x.c