diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2010-12-02 12:19:48 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-12-10 18:17:19 -0500 |
commit | 5ac387d983149d4658aad17242d24eef85a43fa8 (patch) | |
tree | b6c36732439df75288194b9e5dcfa4d68b0cf844 /drivers/serial | |
parent | 16c63f8ea49c3fcb9eac7ebc511f5c821d3c55c2 (diff) |
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 <randy.dunlap@oracle.com>
Cc: Tomoya MORINAGA <tomoya-linux@dsn.okisemi.com>
Reported-by: Zimny Lech <napohybelskurwysynom2010@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/serial')
-rw-r--r-- | drivers/serial/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig index fa02904c1910..ec3c214598d0 100644 --- a/drivers/serial/Kconfig +++ b/drivers/serial/Kconfig | |||
@@ -1650,8 +1650,9 @@ config SERIAL_IFX6X60 | |||
1650 | 1650 | ||
1651 | config SERIAL_PCH_UART | 1651 | config SERIAL_PCH_UART |
1652 | tristate "Intel EG20T PCH UART" | 1652 | tristate "Intel EG20T PCH UART" |
1653 | depends on PCI && DMADEVICES | ||
1653 | select SERIAL_CORE | 1654 | select SERIAL_CORE |
1654 | depends on PCI | 1655 | select PCH_DMA |
1655 | help | 1656 | help |
1656 | This driver is for PCH(Platform controller Hub) UART of Intel EG20T | 1657 | This driver is for PCH(Platform controller Hub) UART of Intel EG20T |
1657 | which is an IOH(Input/Output Hub) for x86 embedded processor. | 1658 | which is an IOH(Input/Output Hub) for x86 embedded processor. |