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

Commit 14894b9b authored by Jassi Brar's avatar Jassi Brar Committed by Ben Dooks
Browse files

S3C: DMA: Change argument of s3c2410_dma_devconfig



All other functions have the channel argument of type 'unsigned int'
the s3c2410_dma_devconfig also accept the same value as argument but
treat it as type 'int'. Remove this anomaly by make it 'unsigned int'.

Signed-off-by: default avatarJassi Brar <jassi.brar@samsung.com>
Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
parent 7ebd4675
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -414,7 +414,7 @@ int s3c2410_dma_enqueue(unsigned int channel, void *id,
EXPORT_SYMBOL(s3c2410_dma_enqueue);
EXPORT_SYMBOL(s3c2410_dma_enqueue);




int s3c2410_dma_devconfig(int channel,
int s3c2410_dma_devconfig(unsigned int channel,
			  enum s3c2410_dmasrc source,
			  enum s3c2410_dmasrc source,
			  unsigned long devaddr)
			  unsigned long devaddr)
{
{
+1 −1
Original line number Original line Diff line number Diff line
@@ -1104,7 +1104,7 @@ EXPORT_SYMBOL(s3c2410_dma_config);
 * devaddr:   physical address of the source
 * devaddr:   physical address of the source
*/
*/


int s3c2410_dma_devconfig(int channel,
int s3c2410_dma_devconfig(unsigned int channel,
			  enum s3c2410_dmasrc source,
			  enum s3c2410_dmasrc source,
			  unsigned long devaddr)
			  unsigned long devaddr)
{
{
+2 −2
Original line number Original line Diff line number Diff line
@@ -110,8 +110,8 @@ extern int s3c2410_dma_config(unsigned int channel, int xferunit);
 * configure the device we're talking to
 * configure the device we're talking to
*/
*/


extern int s3c2410_dma_devconfig(int channel, enum s3c2410_dmasrc source,
extern int s3c2410_dma_devconfig(unsigned int channel,
				 unsigned long devaddr);
		enum s3c2410_dmasrc source, unsigned long devaddr);


/* s3c2410_dma_getposition
/* s3c2410_dma_getposition
 *
 *