serial: fix pch_uart kconfig & build
authorRandy Dunlap <randy.dunlap@oracle.com>
Thu, 2 Dec 2010 17:19:48 +0000 (09:19 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 10 Dec 2010 23:17:19 +0000 (15:17 -0800)
commit5ac387d983149d4658aad17242d24eef85a43fa8
treeb6c36732439df75288194b9e5dcfa4d68b0cf844
parent16c63f8ea49c3fcb9eac7ebc511f5c821d3c55c2
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>
drivers/serial/Kconfig