summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/8250/Makefile
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2015-06-27 16:19:00 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-07-24 03:43:01 +0300
commitb6830f6df8914faae9561bb245860c21af9b9e9b (patch)
tree038105f013e5738347010f3ea81a7ba7291e52a8 /drivers/tty/serial/8250/Makefile
parente95044ba4fee93f5ea8a1a24b2d921e148503833 (diff)
downloadlinux-b6830f6df8914faae9561bb245860c21af9b9e9b.tar.xz
serial: 8250: Split base port operations from universal driver
Refactor base port operations into new file; 8250_port.c. Legacy irq handling, RSA port support, port storage for universal driver, driver definition, module parameters and linkage remain in 8250_core.c The source file split and resulting modules is diagrammed below: 8250_core.c ====> 8250_core.c __ \ \ \ +-- 8250.ko (alias 8250_core) \ 8250_pnp.c __/ (universal driver) \ => 8250_port.c __ \ +-- 8250_base.ko 8250_dma.c __/ (port operations) Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/8250/Makefile')
-rw-r--r--drivers/tty/serial/8250/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/tty/serial/8250/Makefile b/drivers/tty/serial/8250/Makefile
index 706295913c34..39c6d2277570 100644
--- a/drivers/tty/serial/8250/Makefile
+++ b/drivers/tty/serial/8250/Makefile
@@ -2,10 +2,11 @@
# Makefile for the 8250 serial device drivers.
#
-obj-$(CONFIG_SERIAL_8250) += 8250.o
+obj-$(CONFIG_SERIAL_8250) += 8250.o 8250_base.o
8250-y := 8250_core.o
8250-$(CONFIG_SERIAL_8250_PNP) += 8250_pnp.o
-8250-$(CONFIG_SERIAL_8250_DMA) += 8250_dma.o
+8250_base-y := 8250_port.o
+8250_base-$(CONFIG_SERIAL_8250_DMA) += 8250_dma.o
obj-$(CONFIG_SERIAL_8250_GSC) += 8250_gsc.o
obj-$(CONFIG_SERIAL_8250_PCI) += 8250_pci.o
obj-$(CONFIG_SERIAL_8250_HP300) += 8250_hp300.o