]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/tty: ehv_bytechan fails to build as a module
authorAnton Blanchard <anton@samba.org>
Mon, 9 Dec 2013 05:03:10 +0000 (16:03 +1100)
committerScott Wood <scottwood@freescale.com>
Thu, 9 Jan 2014 23:52:12 +0000 (17:52 -0600)
commit4a974a1fe7bab73e8b1c4fa1918b5e4037fdf0c7
tree63bcc1ca0548161cd77ed161f9df5a40ce76e7ab
parente6c195ddebd4a712f441e8675b0cdbbd6dce0741
drivers/tty: ehv_bytechan fails to build as a module

ehv_bytechan is marked tristate but fails to build as a module:

drivers/tty/ehv_bytechan.c:363:1: error: type defaults to ‘int’ in declaration of ‘console_initcall’ [-Werror=implicit-int]

It doesn't make much sense for a console driver to be built as
a module, so change it to a bool.

Signed-off-by: Anton Blanchard <anton@samba.org>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Scott Wood <scottwood@freescale.com>
drivers/tty/Kconfig