mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
852d258f84
commit
c4ba0e4abd
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue