]> git.baikalelectronics.ru Git - kernel.git/commit
serial: sh-sci: fix compilation breakage, when DMA is enabled
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Mon, 30 Jul 2012 19:28:47 +0000 (21:28 +0200)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 1 Aug 2012 04:48:54 +0000 (13:48 +0900)
commitd91979a90d884d5adbc1264287604057c8a01b45
treef6756522266928cc74be1c55ec9453b0a007b082
parent6c1c7c0b88a667e4ed49f4f58224de6a840608f0
serial: sh-sci: fix compilation breakage, when DMA is enabled

A recent commit:

commit 0894a7e2d2473debd96c0babcdebad45b3fce143
Author: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
    serial: sh-sci: prepare for conversion to the shdma base library

is not sufficient to update the sh-sci driver to the new shdma driver
layout. This caused compilation breakage, when CONFIG_SERIAL_SH_SCI_DMA
is enabled. This patch trivially fixes the problem by updating the DMA
descriptor manipulation code.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/tty/serial/sh-sci.c