diff options
author | Bhanusree Pola <bhanusreemahesh@gmail.com> | 2019-02-26 06:06:27 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-02-26 11:40:07 +0100 |
commit | c4d8416c85bf66f1e95f2eab556e858b811037e7 (patch) | |
tree | f9434ba3e409ff95beb2de3bad0fc2f3bfcbaa85 | |
parent | e1167d7b45885f3171993bb263252799bb80881d (diff) | |
download | linux-c4d8416c85bf66f1e95f2eab556e858b811037e7.tar.gz linux-c4d8416c85bf66f1e95f2eab556e858b811037e7.tar.bz2 linux-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>
-rw-r--r-- | drivers/staging/mt7621-dma/mtk-hsdma.c | 2 |
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); } |