提交 a183d3ae 编写于 作者: A Anton Blanchard 提交者: Scott Wood

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: NAnton Blanchard <anton@samba.org>
Acked-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: NScott Wood <scottwood@freescale.com>
上级 a7189483
...@@ -366,7 +366,7 @@ config TRACE_SINK ...@@ -366,7 +366,7 @@ config TRACE_SINK
"Trace data router for MIPI P1149.7 cJTAG standard". "Trace data router for MIPI P1149.7 cJTAG standard".
config PPC_EPAPR_HV_BYTECHAN config PPC_EPAPR_HV_BYTECHAN
tristate "ePAPR hypervisor byte channel driver" bool "ePAPR hypervisor byte channel driver"
depends on PPC depends on PPC
select EPAPR_PARAVIRT select EPAPR_PARAVIRT
help help
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册