staging: ralink-gdma: Replace from uint32_t to u32
Replace all uintr32_t with u32 to avoid getting checkpatch warning Signed-off-by: Daniela Mormocea <daniela.mormocea@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
3e00865cf8
commit
2c78d9f6ab
|
@ -283,7 +283,7 @@ static int rt305x_gdma_start_transfer(struct gdma_dmaengine_chan *chan)
|
|||
struct gdma_dma_dev *dma_dev = gdma_dma_chan_get_dev(chan);
|
||||
dma_addr_t src_addr, dst_addr;
|
||||
struct gdma_dma_sg *sg;
|
||||
uint32_t ctrl0, ctrl1;
|
||||
u32 ctrl0, ctrl1;
|
||||
|
||||
/* verify chan is already stopped */
|
||||
ctrl0 = gdma_dma_read(dma_dev, GDMA_REG_CTRL0(chan->id));
|
||||
|
@ -360,7 +360,7 @@ static int rt3883_gdma_start_transfer(struct gdma_dmaengine_chan *chan)
|
|||
struct gdma_dma_dev *dma_dev = gdma_dma_chan_get_dev(chan);
|
||||
dma_addr_t src_addr, dst_addr;
|
||||
struct gdma_dma_sg *sg;
|
||||
uint32_t ctrl0, ctrl1;
|
||||
u32 ctrl0, ctrl1;
|
||||
|
||||
/* verify chan is already stopped */
|
||||
ctrl0 = gdma_dma_read(dma_dev, GDMA_REG_CTRL0(chan->id));
|
||||
|
@ -752,7 +752,7 @@ static void gdma_dma_tasklet(unsigned long arg)
|
|||
|
||||
static void rt305x_gdma_init(struct gdma_dma_dev *dma_dev)
|
||||
{
|
||||
uint32_t gct;
|
||||
u32 gct;
|
||||
|
||||
/* all chans round robin */
|
||||
gdma_dma_write(dma_dev, GDMA_RT305X_GCT, GDMA_REG_GCT_ARBIT_RR);
|
||||
|
@ -766,7 +766,7 @@ static void rt305x_gdma_init(struct gdma_dma_dev *dma_dev)
|
|||
|
||||
static void rt3883_gdma_init(struct gdma_dma_dev *dma_dev)
|
||||
{
|
||||
uint32_t gct;
|
||||
u32 gct;
|
||||
|
||||
/* all chans round robin */
|
||||
gdma_dma_write(dma_dev, GDMA_REG_GCT, GDMA_REG_GCT_ARBIT_RR);
|
||||
|
|
Loading…
Reference in a new issue