aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/mt7621-dma
diff options
context:
space:
mode:
authorBhanusree Pola <bhanusreemahesh@gmail.com>2019-02-26 06:06:27 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-02-26 11:40:07 +0100
commitc4d8416c85bf66f1e95f2eab556e858b811037e7 (patch)
treef9434ba3e409ff95beb2de3bad0fc2f3bfcbaa85 /drivers/staging/mt7621-dma
parentstaging: octeon-usb: fix misspelled "re-enable" (diff)
downloadlinux-dev-c4d8416c85bf66f1e95f2eab556e858b811037e7.tar.xz
linux-dev-c4d8416c85bf66f1e95f2eab556e858b811037e7.zip
Staging: mt7621_dma: Prefer unsigned int over just unsigned
Replace 'unsigned' with 'unsigned int' to be specific with data type. Issue found with checkpatch.pl Signed-off-by: Bhanusree Pola <bhanusreemahesh@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/mt7621-dma')
-rw-r--r--drivers/staging/mt7621-dma/mtk-hsdma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/mt7621-dma/mtk-hsdma.c b/drivers/staging/mt7621-dma/mtk-hsdma.c
index d67a2504adb1..4426c0e386f8 100644
--- a/drivers/staging/mt7621-dma/mtk-hsdma.c
+++ b/drivers/staging/mt7621-dma/mtk-hsdma.c
@@ -191,7 +191,7 @@ static inline u32 mtk_hsdma_read(struct mtk_hsdam_engine *hsdma, u32 reg)
}
static inline void mtk_hsdma_write(struct mtk_hsdam_engine *hsdma,
- unsigned reg, u32 val)
+ unsigned int reg, u32 val)
{
writel(val, hsdma->base + reg);
}