OSDN Git Service

tty: serial: Limit msm_serial_hs driver to platforms that use it
authorStephen Boyd <sboyd@codeaurora.org>
Mon, 30 Dec 2013 21:15:29 +0000 (13:15 -0800)
committerOlof Johansson <olof@lixom.net>
Thu, 9 Jan 2014 08:06:59 +0000 (00:06 -0800)
The msm_serial_hs driver uses mach specific dma APIs. This is not
compatible with the multi-platform ARM effort. Let's only compile
this driver on MSM devices that are prepared to support it;
allowing the DT based MSM devices to enter the multi-platform ARM
build.

Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
drivers/tty/serial/Kconfig

index a3817ab..a53159c 100644 (file)
@@ -1035,7 +1035,7 @@ config SERIAL_MSM_CONSOLE
 
 config SERIAL_MSM_HS
        tristate "MSM UART High Speed: Serial Driver"
-       depends on ARCH_MSM
+       depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50
        select SERIAL_CORE
        help
          If you have a machine based on MSM family of SoCs, you