From: Randy Dunlap Date: Thu, 2 Dec 2010 17:19:48 +0000 (-0800) Subject: serial: fix pch_uart kconfig & build X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;ds=sidebyside;h=5ac387d983149d4658aad17242d24eef85a43fa8;p=mv-sheeva.git serial: fix pch_uart kconfig & build The dma_request_channel/dma_release_channel interfaces are not built when DMADEVICES is not enabled, so make the driver depend on DMADEVICES. Also, the help text says that the driver enables & uses PCH_DMA, which is not enabled, so select that. ERROR: "__dma_request_channel" [drivers/serial/pch_uart.ko] undefined! ERROR: "dma_release_channel" [drivers/serial/pch_uart.ko] undefined! Signed-off-by: Randy Dunlap Cc: Tomoya MORINAGA Reported-by: Zimny Lech Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig index fa02904c191..ec3c214598d 100644 --- a/drivers/serial/Kconfig +++ b/drivers/serial/Kconfig @@ -1650,8 +1650,9 @@ config SERIAL_IFX6X60 config SERIAL_PCH_UART tristate "Intel EG20T PCH UART" + depends on PCI && DMADEVICES select SERIAL_CORE - depends on PCI + select PCH_DMA help This driver is for PCH(Platform controller Hub) UART of Intel EG20T which is an IOH(Input/Output Hub) for x86 embedded processor.