diff options
author | Anton Blanchard <anton@samba.org> | 2013-12-09 00:03:10 -0500 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2014-01-09 18:52:12 -0500 |
commit | a183d3ae63c08186477d2b0ef2798d47d10add4b (patch) | |
tree | 63bcc1ca0548161cd77ed161f9df5a40ce76e7ab /drivers/tty/Kconfig | |
parent | a7189483f03d4c4b93219ff27a2e0a01716abd21 (diff) |
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>
Diffstat (limited to 'drivers/tty/Kconfig')
-rw-r--r-- | drivers/tty/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/Kconfig b/drivers/tty/Kconfig index 978db344bda0..b24aa010f68c 100644 --- a/drivers/tty/Kconfig +++ b/drivers/tty/Kconfig | |||
@@ -366,7 +366,7 @@ config TRACE_SINK | |||
366 | "Trace data router for MIPI P1149.7 cJTAG standard". | 366 | "Trace data router for MIPI P1149.7 cJTAG standard". |
367 | 367 | ||
368 | config PPC_EPAPR_HV_BYTECHAN | 368 | config PPC_EPAPR_HV_BYTECHAN |
369 | tristate "ePAPR hypervisor byte channel driver" | 369 | bool "ePAPR hypervisor byte channel driver" |
370 | depends on PPC | 370 | depends on PPC |
371 | select EPAPR_PARAVIRT | 371 | select EPAPR_PARAVIRT |
372 | help | 372 | help |