]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: tmio: bus_shift become tmio_mmc_data member
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 20 Nov 2013 08:30:55 +0000 (00:30 -0800)
committerChris Ball <cjb@laptop.org>
Thu, 12 Dec 2013 01:43:11 +0000 (20:43 -0500)
commitf6ffee3f78b6275e3d386e2db7177abb99824682
treebc487636d9d8b1dbcf9898c3cb39631ef878eab1
parentc39f5164dbcd2f220310f284c124f363f18cb1c8
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>
drivers/mmc/host/sh_mobile_sdhi.c
drivers/mmc/host/tmio_mmc.c
drivers/mmc/host/tmio_mmc.h
drivers/mmc/host/tmio_mmc_dma.c
drivers/mmc/host/tmio_mmc_pio.c
include/linux/mfd/tmio.h