serial: 8250_mid: fix broken DMA dependency
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Thu, 10 Dec 2015 11:26:21 +0000 (13:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Dec 2015 03:59:48 +0000 (19:59 -0800)
In order to enable HSU DMA PCI driver, the HSU DMA Engine
must be enabled. This add a check for that.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/Kconfig

index 54f8af8..b03cb51 100644 (file)
@@ -371,7 +371,7 @@ config SERIAL_8250_MID
        tristate "Support for serial ports on Intel MID platforms"
        depends on SERIAL_8250 && PCI
        select HSU_DMA if SERIAL_8250_DMA
-       select HSU_DMA_PCI if X86_INTEL_MID
+       select HSU_DMA_PCI if (HSU_DMA && X86_INTEL_MID)
        select RATIONAL
        help
          Selecting this option will enable handling of the extra features