diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2011-06-16 01:08:28 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-06-16 02:03:50 -0400 |
commit | 090b91805a97f58a7deff0f2b40aad1cc2f1b7e0 (patch) | |
tree | 4d9226e0caa5834ad1eac8d22656d5357fe26d0b /drivers/dma | |
parent | 1d2c0980262e70f5643df34493ffd7e608282c16 (diff) |
dmaengine: shdma: fixup parameter definition on dmae_set_dmars
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>
Diffstat (limited to 'drivers/dma')
-rw-r--r-- | drivers/dma/shdma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/shdma.c b/drivers/dma/shdma.c index 3d22eb82289d..41a21b322960 100644 --- a/drivers/dma/shdma.c +++ b/drivers/dma/shdma.c | |||
@@ -211,7 +211,7 @@ static int dmae_set_dmars(struct sh_dmae_chan *sh_chan, u16 val) | |||
211 | struct sh_dmae_pdata *pdata = shdev->pdata; | 211 | struct sh_dmae_pdata *pdata = shdev->pdata; |
212 | const struct sh_dmae_channel *chan_pdata = &pdata->channel[sh_chan->id]; | 212 | const struct sh_dmae_channel *chan_pdata = &pdata->channel[sh_chan->id]; |
213 | u16 __iomem *addr = shdev->dmars; | 213 | u16 __iomem *addr = shdev->dmars; |
214 | int shift = chan_pdata->dmars_bit; | 214 | unsigned int shift = chan_pdata->dmars_bit; |
215 | 215 | ||
216 | if (dmae_is_busy(sh_chan)) | 216 | if (dmae_is_busy(sh_chan)) |
217 | return -EBUSY; | 217 | return -EBUSY; |