summaryrefslogtreecommitdiffstats
path: root/include/linux/mmc
diff options
context:
space:
mode:
authorChaotian Jing <chaotian.jing@mediatek.com>2015-06-15 19:20:48 +0800
committerUlf Hansson <ulf.hansson@linaro.org>2015-06-18 09:20:48 +0200
commit208489032bdd8d4a7de50f3057c175058f271956 (patch)
treece1f3d6cff272e60e68001e87549223c5d042cda /include/linux/mmc
parent4c31d50d3ee67b4fdc1824ed51b6f707681d0136 (diff)
downloadop-kernel-dev-208489032bdd8d4a7de50f3057c175058f271956.zip
op-kernel-dev-208489032bdd8d4a7de50f3057c175058f271956.tar.gz
mmc: mediatek: Add Mediatek MMC driver
Add Mediatek MMC driver code Support eMMC/SD/SDIO Signed-off-by: Chaotian Jing <chaotian.jing@mediatek.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'include/linux/mmc')
-rw-r--r--include/linux/mmc/core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mmc/core.h b/include/linux/mmc/core.h
index de722d4e..258daf9 100644
--- a/include/linux/mmc/core.h
+++ b/include/linux/mmc/core.h
@@ -121,6 +121,7 @@ struct mmc_data {
struct mmc_request *mrq; /* associated request */
unsigned int sg_len; /* size of scatter list */
+ int sg_count; /* mapped sg entries */
struct scatterlist *sg; /* I/O scatter list */
s32 host_cookie; /* host private data */
};
OpenPOWER on IntegriCloud