summaryrefslogtreecommitdiffstats
path: root/drivers/staging/ralink-gdma
diff options
context:
space:
mode:
authorBharath Vedartham2019-03-24 10:48:03 +0100
committerGreg Kroah-Hartman2019-03-25 21:47:37 +0100
commit4da99b90ce06c45da07138f7d9e4031898ad8284 (patch)
treee640097531b926b2fe2952e07b344e8395c40c23 /drivers/staging/ralink-gdma
parentstaging: tegra-vde: remove unnecessary boilerplate license identifier text (diff)
downloadkernel-qcow2-linux-4da99b90ce06c45da07138f7d9e4031898ad8284.tar.gz
kernel-qcow2-linux-4da99b90ce06c45da07138f7d9e4031898ad8284.tar.xz
kernel-qcow2-linux-4da99b90ce06c45da07138f7d9e4031898ad8284.zip
staging: ralink-gdma: Change unsigned to unsigned int
This fixes the checkpatch.pl warning: "Prefer unsigned to unsigned int" Signed-off-by: Bharath Vedartham <linux.bhar@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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/ralink-gdma/ralink-gdma.c b/drivers/staging/ralink-gdma/ralink-gdma.c
index dfdc425557b6..44a65e2439e0 100644
--- a/drivers/staging/ralink-gdma/ralink-gdma.c
+++ b/drivers/staging/ralink-gdma/ralink-gdma.c
@@ -164,7 +164,7 @@ static inline uint32_t gdma_dma_read(struct gdma_dma_dev *dma_dev,
}
static inline void gdma_dma_write(struct gdma_dma_dev *dma_dev,
- unsigned reg, uint32_t val)
+ unsigned int reg, uint32_t val)
{
writel(val, dma_dev->base + reg);
}