Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b01858c7 authored by Heiko Stuebner's avatar Heiko Stuebner Committed by Kukjin Kim
Browse files

ARM: S3C24XX: Fix s3c2410_dma_enqueue parameters



Commit d670ac01 (ARM: SAMSUNG: DMA Cleanup as per sparse) changed the
prototype of the s3c2410_dma_* functions to use the enum dma_ch instead
of an generic unsigned int.

In the s3c24xx dma.c s3c2410_dma_enqueue seems to have been forgotten,
the other functions there were changed correctly.

Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
Cc: Stable <stable@vger.kernel.org>
Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
parent e1267371
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -430,7 +430,7 @@ s3c2410_dma_canload(struct s3c2410_dma_chan *chan)
 * when necessary.
 * when necessary.
*/
*/


int s3c2410_dma_enqueue(unsigned int channel, void *id,
int s3c2410_dma_enqueue(enum dma_ch channel, void *id,
			dma_addr_t data, int size)
			dma_addr_t data, int size)
{
{
	struct s3c2410_dma_chan *chan = s3c_dma_lookup_channel(channel);
	struct s3c2410_dma_chan *chan = s3c_dma_lookup_channel(channel);