mmc: spi: Pull out parts shared between MMC and SPI
commit829c1bf40b926a86e545733f6252262add3abe39
authorMarek Vasut <marex@denx.de>
Fri, 3 Aug 2012 15:26:09 +0000 (3 17:26 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 17 Aug 2012 21:52:51 +0000 (17 22:52 +0100)
tree8d94e9dc8ccc86a7f2cf9d1a72fae88efc9209c2
parentf83b73806579c666fe6f1a4ed4800092c89e81db
mmc: spi: Pull out parts shared between MMC and SPI

Abstract out the common part of private data shared between MMC
and SPI. These shall later allow to use common clock configuration
function.

Signed-off-by: Marek Vasut <marex@denx.de>
Acked-by: Chris Ball <cjb@laptop.org>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/mmc/host/mxs-mmc.c
include/linux/spi/mxs-spi.h