diff options
author | Kamal Heib <kamalheib1@gmail.com> | 2018-05-09 15:40:09 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-14 14:03:45 +0200 |
commit | fadd6fdae7dbc46cc92008490f7a7c0bad72af7c (patch) | |
tree | 5adabee7d1be25c0120393ea6c71b6f2a94c1a34 /drivers/staging/mt7621-eth/gsw_mt7620.h | |
parent | staging: bcm2835-camera: Replace open-coded idr with a struct idr. (diff) | |
download | linux-dev-fadd6fdae7dbc46cc92008490f7a7c0bad72af7c.tar.xz linux-dev-fadd6fdae7dbc46cc92008490f7a7c0bad72af7c.zip |
staging: mt7621-eth: Prefer unsigned int to bare use of unsigned
This commit replaces all the unsigned definitions in favour of 'unsigned
int' which is preferred.
Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/mt7621-eth/gsw_mt7620.h')
-rw-r--r-- | drivers/staging/mt7621-eth/gsw_mt7620.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/mt7621-eth/gsw_mt7620.h b/drivers/staging/mt7621-eth/gsw_mt7620.h index 1766939e2101..70f7e5481952 100644 --- a/drivers/staging/mt7621-eth/gsw_mt7620.h +++ b/drivers/staging/mt7621-eth/gsw_mt7620.h @@ -252,8 +252,8 @@ struct mt7620_gsw { }; /* switch register I/O wrappers */ -void mtk_switch_w32(struct mt7620_gsw *gsw, u32 val, unsigned reg); -u32 mtk_switch_r32(struct mt7620_gsw *gsw, unsigned reg); +void mtk_switch_w32(struct mt7620_gsw *gsw, u32 val, unsigned int reg); +u32 mtk_switch_r32(struct mt7620_gsw *gsw, unsigned int reg); /* the callback used by the driver core to bringup the switch */ int mtk_gsw_init(struct mtk_eth *eth); |