]> git.baikalelectronics.ru Git - kernel.git/commit
tty: serial/samsung: fix modular build
authorArnd Bergmann <arnd@arndb.de>
Thu, 11 Apr 2013 00:04:49 +0000 (02:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 Apr 2013 20:14:37 +0000 (13:14 -0700)
commit4483d2639e0edbad92d451efcad026b8c0ca2ae1
tree20ca794a77ac0a2ec79d9507369bbd9cf95ae62b
parentda144056e1512d0717c1f803f8a298e36b6d2cdd
tty: serial/samsung: fix modular build

There are a few bugs in the samsung serial driver when built as a
loadable module, which makes the console code unavailable, as well as
giving no access to the 'printascii' early debug function. This adds
the appropriate compile time conditionals.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/samsung.c
drivers/tty/serial/samsung.h