aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-11-25 01:24:50 +0900
committerUlf Hansson <ulf.hansson@linaro.org>2017-12-19 08:50:04 +0100
commitc4ba0e4abda39fb1ca81683be068b4556b2680d4 (patch)
tree31f34ced874449d81a7cb7a7e8efe8bcac02b78b /drivers/mmc
parentmmc: tmio,renesas_sdhi: move ssc_tappos to renesas_sdhi.h (diff)
downloadlinux-dev-c4ba0e4abda39fb1ca81683be068b4556b2680d4.tar.xz
linux-dev-c4ba0e4abda39fb1ca81683be068b4556b2680d4.zip
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>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/tmio_mmc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/tmio_mmc.h b/drivers/mmc/host/tmio_mmc.h
index a099fde27026..15537c85c51a 100644
--- a/drivers/mmc/host/tmio_mmc.h
+++ b/drivers/mmc/host/tmio_mmc.h
@@ -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;