Skip to content

Commit

Permalink
dmaengine: shdma: fixup parameter definition on dmae_set_dmars
Browse files Browse the repository at this point in the history
chan_pdata->dmars_bit is unsigned int

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Kuninori Morimoto authored and Paul Mundt committed Jun 16, 2011
1 parent 1d2c098 commit 090b918
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/dma/shdma.c
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ static int dmae_set_dmars(struct sh_dmae_chan *sh_chan, u16 val)
struct sh_dmae_pdata *pdata = shdev->pdata;
const struct sh_dmae_channel *chan_pdata = &pdata->channel[sh_chan->id];
u16 __iomem *addr = shdev->dmars;
int shift = chan_pdata->dmars_bit;
unsigned int shift = chan_pdata->dmars_bit;

if (dmae_is_busy(sh_chan))
return -EBUSY;
Expand Down

0 comments on commit 090b918

Please sign in to comment.