diff options
author | Chaotian Jing <chaotian.jing@mediatek.com> | 2015-06-15 19:20:48 +0800 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2015-06-18 09:20:48 +0200 |
commit | 208489032bdd8d4a7de50f3057c175058f271956 (patch) | |
tree | ce1f3d6cff272e60e68001e87549223c5d042cda /include/linux/mmc | |
parent | 4c31d50d3ee67b4fdc1824ed51b6f707681d0136 (diff) | |
download | op-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.h | 1 |
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 */ }; |