Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Anton Blanchard and committed by
Scott Wood
a183d3ae a7189483

+1 -1
+1 -1
drivers/tty/Kconfig
··· 366 366 "Trace data router for MIPI P1149.7 cJTAG standard". 367 367 368 368 config PPC_EPAPR_HV_BYTECHAN 369 - tristate "ePAPR hypervisor byte channel driver" 369 + bool "ePAPR hypervisor byte channel driver" 370 370 depends on PPC 371 371 select EPAPR_PARAVIRT 372 372 help