Commit c4ba0e4a authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Ulf Hansson

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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 852d258f
...@@ -139,7 +139,7 @@ struct tmio_mmc_host { ...@@ -139,7 +139,7 @@ struct tmio_mmc_host {
struct scatterlist *sg_orig; struct scatterlist *sg_orig;
unsigned int sg_len; unsigned int sg_len;
unsigned int sg_off; unsigned int sg_off;
unsigned long bus_shift; unsigned int bus_shift;
struct platform_device *pdev; struct platform_device *pdev;
struct tmio_mmc_data *pdata; struct tmio_mmc_data *pdata;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment