Skip to content

Commit c4ba0e4

Browse files
masahir0ystorulf
authored andcommitted
mmc: tmio: change bus_shift to unsigned int
Sane values for bus_shift are: 0 - for 16 bit bus 1 - for 32 bit bus 2 - for 64 bit bus "unsigned long" is too much. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
1 parent 852d258 commit c4ba0e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/mmc/host/tmio_mmc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ struct tmio_mmc_host {
139139
struct scatterlist *sg_orig;
140140
unsigned int sg_len;
141141
unsigned int sg_off;
142-
unsigned long bus_shift;
142+
unsigned int bus_shift;
143143

144144
struct platform_device *pdev;
145145
struct tmio_mmc_data *pdata;

0 commit comments

Comments
 (0)