ARM: S3C24XX: Fix s3c2410_dma_enqueue parameters

A patch from »ARM: S3C24XX: Fix compilation errors with 3.6-rc1« in state Mainline for linux-kernel

From: Heiko Stuebner <heiko@...> Date: Sun, 5 Aug 2012 16:48:37 +0200

Commit-Message

Commit d670ac019f60 (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: Heiko Stuebner <heiko@...>

Patch-Comment

arch/arm/plat-s3c24xx/dma.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)

Statistics

  • 1 lines added
  • 1 lines removed

Changes

------------------------- arch/arm/plat-s3c24xx/dma.c --------------------------
index 28f898f..db98e70 100644
@@ -430,7 +430,7 @@ s3c2410_dma_canload(struct s3c2410_dma_chan *chan)
* 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)
{
struct s3c2410_dma_chan *chan = s3c_dma_lookup_channel(channel);
 
 

Recent Patches

About Us

Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum vel, tempor at, varius non, purus. Mauris vitae nisl nec metus placerat consectetuer.

Read More...