linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] serdev: Update drivers/tty/serdev/Kconfig for ACPI support
@ 2017-10-07  6:16 Ian W MORRISON
       [not found] ` <a4051ac2-1156-751d-ec16-2dbbb30b9258-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Ian W MORRISON @ 2017-10-07  6:16 UTC (permalink / raw)
  To: marcel, gustavo, johan.hedberg,
	bluez mailin list (linux-bluetooth@vger.kernel.org)
  Cc: Hans de Goede, Frédéric Danis, Rob Herring,
	Sebastian Reichel, Loic Poulain, Johan Hovold, Lukas Wunner,
	linux-serial, linux-acpi, Greg Kroah-Hartman, Rafael J. Wysocki

The current Kconfig for serdev is not compatible when adding ACPI support as it does not work when built as a module as it requires config SERIAL_DEV_CTRL_TTYPORT to be set. This patch makes serdev compiled into the kernel if selected so that config SERIAL_DEV_CTRL_TTYPORT can be correctly set if requiring ACPI support.
---
 drivers/tty/serdev/Kconfig | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/tty/serdev/Kconfig b/drivers/tty/serdev/Kconfig
index cdc6b820cf93..a9fb09a9c105 100644
--- a/drivers/tty/serdev/Kconfig
+++ b/drivers/tty/serdev/Kconfig
@@ -2,7 +2,8 @@
 # Serial bus device driver configuration
 #
 menuconfig SERIAL_DEV_BUS
-	tristate "Serial device bus"
+	bool "Serial device bus"
+	default y
 	help
 	  Core support for devices connected via a serial port.
 
@@ -11,6 +12,6 @@ if SERIAL_DEV_BUS
 config SERIAL_DEV_CTRL_TTYPORT
 	bool "Serial device TTY port controller"
 	depends on TTY
-	depends on SERIAL_DEV_BUS != m
+	default y
 
 endif
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-10-09  7:47 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-07  6:16 [PATCH] serdev: Update drivers/tty/serdev/Kconfig for ACPI support Ian W MORRISON
     [not found] ` <a4051ac2-1156-751d-ec16-2dbbb30b9258-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-10-07  6:41   ` Greg Kroah-Hartman
2017-10-07  6:42 ` Marcel Holtmann
     [not found]   ` <D567DA4A-4443-4A88-B078-50EE458C822A-kz+m5ild9QBg9hUCZPvPmw@public.gmane.org>
2017-10-07 12:06     ` Ian W MORRISON
2017-10-07 15:24 ` Johan Hovold
2017-10-07 19:57   ` Marcel Holtmann
2017-10-08  3:20     ` Ian W MORRISON
2017-10-09  7:47     ` Johan Hovold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).