diff options
author | Daniela Mormocea <daniela.mormocea@gmail.com> | 2019-03-05 14:53:20 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-03-18 07:05:19 +0100 |
commit | 2c78d9f6ab8a17a55ffdfd0975ea2177a862c38e (patch) | |
tree | f530dc0122cbc341ad6c244e3dc07b3b78d721cb /drivers/staging/ralink-gdma | |
parent | 3e00865cf87ce61d541da1201a21f4f00da9bc4f (diff) | |
download | linux-2c78d9f6ab8a17a55ffdfd0975ea2177a862c38e.tar.gz linux-2c78d9f6ab8a17a55ffdfd0975ea2177a862c38e.tar.bz2 linux-2c78d9f6ab8a17a55ffdfd0975ea2177a862c38e.zip |
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>
Diffstat (limited to 'drivers/staging/ralink-gdma')
-rw-r--r-- | drivers/staging/ralink-gdma/ralink-gdma.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/ralink-gdma/ralink-gdma.c b/drivers/staging/ralink-gdma/ralink-gdma.c index 04fc7f6cbf33..6f0136867f78 100644 --- a/drivers/staging/ralink-gdma/ralink-gdma.c +++ b/drivers/staging/ralink-gdma/ralink-gdma.c @@ -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); |