summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serdev/Makefile
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2017-02-02 13:48:08 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-02-03 10:17:02 +0100
commitbed35c6dfa6a36233c3e1238a40dc1ae67955898 (patch)
tree03afb77346bfc39d88fd57600a3722a3fd09179a /drivers/tty/serdev/Makefile
parentcd6484e1830be260abfba80a9c7d8f65531126d6 (diff)
downloadlinux-bed35c6dfa6a36233c3e1238a40dc1ae67955898.tar.gz
linux-bed35c6dfa6a36233c3e1238a40dc1ae67955898.tar.bz2
linux-bed35c6dfa6a36233c3e1238a40dc1ae67955898.zip
serdev: add a tty port controller driver
Add a serdev controller driver for tty ports. The controller is registered with serdev when tty ports are registered with the TTY core. As the TTY core is built-in only, this has the side effect of making serdev built-in as well. Signed-off-by: Rob Herring <robh@kernel.org> Reviewed-By: Sebastian Reichel <sre@kernel.org> Tested-By: Sebastian Reichel <sre@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serdev/Makefile')
-rw-r--r--drivers/tty/serdev/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/tty/serdev/Makefile b/drivers/tty/serdev/Makefile
index 01a9b62183f4..0cbdb9444d9d 100644
--- a/drivers/tty/serdev/Makefile
+++ b/drivers/tty/serdev/Makefile
@@ -1,3 +1,5 @@
serdev-objs := core.o
obj-$(CONFIG_SERIAL_DEV_BUS) += serdev.o
+
+obj-$(CONFIG_SERIAL_DEV_CTRL_TTYPORT) += serdev-ttyport.o