OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
852d258
)
mmc: tmio: change bus_shift to unsigned int
author
Masahiro Yamada
<yamada.masahiro@socionext.com>
Fri, 24 Nov 2017 16:24:50 +0000
(
01:24
+0900)
committer
Ulf Hansson
<ulf.hansson@linaro.org>
Tue, 19 Dec 2017 07:50:04 +0000
(08:50 +0100)
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>
drivers/mmc/host/tmio_mmc.h
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/tmio_mmc.h
b/drivers/mmc/host/tmio_mmc.h
index
a099fde
..
15537c8
100644
(file)
--- 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;