diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2013-11-20 03:30:55 -0500 |
---|---|---|
committer | Chris Ball <chris@printf.net> | 2014-01-13 12:48:23 -0500 |
commit | 3b159a6e955c8d468f4ffa212c8b5d68d8323a8d (patch) | |
tree | 897ba847a2be1223b4dd142869528d7747f5e346 /include/linux/mfd | |
parent | 05fae4a7551543f10f1892f533af2d12378a4ba9 (diff) |
mmc: tmio: bus_shift become tmio_mmc_data member
.bus_shift is used to 16/32bit register access offset calculation on
tmio driver. tmio_mmc_xxx is used from Toshiba/Renesas now, but this
bus_shift value depends on HW IP. This patch moves .bus_shift to
tmio_mmc_data member and sets it on each driver.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r-- | include/linux/mfd/tmio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/tmio.h b/include/linux/mfd/tmio.h index b22883d60500..92f72cf5311f 100644 --- a/include/linux/mfd/tmio.h +++ b/include/linux/mfd/tmio.h | |||
@@ -102,6 +102,7 @@ struct tmio_mmc_data { | |||
102 | unsigned long capabilities; | 102 | unsigned long capabilities; |
103 | unsigned long capabilities2; | 103 | unsigned long capabilities2; |
104 | unsigned long flags; | 104 | unsigned long flags; |
105 | unsigned long bus_shift; | ||
105 | u32 ocr_mask; /* available voltages */ | 106 | u32 ocr_mask; /* available voltages */ |
106 | struct tmio_mmc_dma *dma; | 107 | struct tmio_mmc_dma *dma; |
107 | struct device *dev; | 108 | struct device *dev; |