Skip to content

Commit

Permalink
mmc: tmio: change bus_shift to unsigned int
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Wolfram Sang <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
  • Loading branch information
masahir0y authored and storulf committed Dec 19, 2017
1 parent 852d258 commit c4ba0e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mmc/host/tmio_mmc.h
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ struct tmio_mmc_host {
struct scatterlist *sg_orig;
unsigned int sg_len;
unsigned int sg_off;
unsigned long bus_shift;
unsigned int bus_shift;

struct platform_device *pdev;
struct tmio_mmc_data *pdata;
Expand Down

0 comments on commit c4ba0e4

Please sign in to comment.