summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/8250/Makefile
diff options
context:
space:
mode:
authorSean Young <sean@mess.org>2012-09-07 22:06:23 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-27 00:25:41 +0400
commit835d844d1a28efba81d5aca7385e24c29d3a6db2 (patch)
tree646b3c447cd5cba0b976c951ebe0b4f58e50e2e9 /drivers/tty/serial/8250/Makefile
parent4dac2116547b4aab7ac327edb344bb68ed1e8839 (diff)
downloadlinux-835d844d1a28efba81d5aca7385e24c29d3a6db2.tar.xz
8250_pnp: do pnp probe before legacy probe
We first probe the legacy serial ports and then check pnp. If there is a non-standard configuration then this might not work, also this change is needed so we can blacklist Winbond CIR based on PNP ID. For this to work the 8250_pnp driver must be merged into the 8250 module. Signed-off-by: Sean Young <sean@mess.org> Acked-by: Alan Cox <alan@linux.intel.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 d7533c7d2c1a..108fe7fe13e2 100644
--- a/drivers/tty/serial/8250/Makefile
+++ b/drivers/tty/serial/8250/Makefile
@@ -2,8 +2,9 @@
# Makefile for the 8250 serial device drivers.
#
-obj-$(CONFIG_SERIAL_8250) += 8250.o
-obj-$(CONFIG_SERIAL_8250_PNP) += 8250_pnp.o
+obj-$(CONFIG_SERIAL_8250) += 8250_core.o
+8250_core-y := 8250.o
+8250_core-$(CONFIG_SERIAL_8250_PNP) += 8250_pnp.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